cleanup readme

This commit is contained in:
Robin Appelman 2024-11-27 21:07:06 +01:00
commit 6593b51543

View file

@ -4,7 +4,8 @@ Iterator over a comma-seperated string, ignoring any commas inside quotes
```rust
use comma_separated::CommaSeparatedIterator;
fn main() {
fn main() {
let input = r#"foo, "bar", 'quoted, part'"#;
let iterator = CommaSeparatedIterator::new(input);
assert_eq!(vec!["foo", "\"bar\"", "'quoted, part'"], iterator.collect::<Vec<_>>());