Skip to content

Commit 40ea4c4

Browse files
authored
doc: fix a few small typos
PR #230
1 parent d1fe797 commit 40ea4c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/writer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ impl WriterBuilder {
478478
}
479479
}
480480

481-
/// A already configured CSV writer.
481+
/// An already configured CSV writer.
482482
///
483483
/// A CSV writer takes as input Rust values and writes those values in a valid
484484
/// CSV format as output.
@@ -518,7 +518,7 @@ struct WriterState {
518518
header: HeaderState,
519519
/// Whether inconsistent record lengths are allowed.
520520
flexible: bool,
521-
/// The number of fields writtein in the first record. This is compared
521+
/// The number of fields written in the first record. This is compared
522522
/// with `fields_written` on all subsequent records to check for
523523
/// inconsistent record lengths.
524524
first_field_count: Option<u64>,
@@ -536,7 +536,7 @@ struct WriterState {
536536
enum HeaderState {
537537
/// Indicates that we should attempt to write a header.
538538
Write,
539-
/// Indicates that writing a header was attempt, and a header was written.
539+
/// Indicates that writing a header was attempted, and a header was written.
540540
DidWrite,
541541
/// Indicates that writing a header was attempted, but no headers were
542542
/// written or the attempt failed.

0 commit comments

Comments
 (0)