BurntSushi / BurntSushi/rust-csv

Miscounting lines with mismatched columns (csv-core)

Open
#422 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

Example:

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=b2865b0972382499147f9f8e9eb43e84

Output:

```
line: 2, fields: ABC
line: 3, fields: a1b1c1
line: 4, fields: a2
line: 4, fields: a3b3c3d3
```

Expected (& should it not start from line 1?):

```
line: 2, fields: ABC
line: 3, fields: a1b1c1
line: 4, fields: a2
line: 5, fields: a3b3c3d3
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.