Skip to content

Commit

Permalink
doc: fix a few small typos
Browse files Browse the repository at this point in the history
PR #230
  • Loading branch information
mlodato517 committed Apr 15, 2021
1 parent d1fe797 commit 40ea4c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl WriterBuilder {
}
}

/// A already configured CSV writer.
/// An already configured CSV writer.
///
/// A CSV writer takes as input Rust values and writes those values in a valid
/// CSV format as output.
Expand Down Expand Up @@ -518,7 +518,7 @@ struct WriterState {
header: HeaderState,
/// Whether inconsistent record lengths are allowed.
flexible: bool,
/// The number of fields writtein in the first record. This is compared
/// The number of fields written in the first record. This is compared
/// with `fields_written` on all subsequent records to check for
/// inconsistent record lengths.
first_field_count: Option<u64>,
Expand All @@ -536,7 +536,7 @@ struct WriterState {
enum HeaderState {
/// Indicates that we should attempt to write a header.
Write,
/// Indicates that writing a header was attempt, and a header was written.
/// Indicates that writing a header was attempted, and a header was written.
DidWrite,
/// Indicates that writing a header was attempted, but no headers were
/// written or the attempt failed.
Expand Down

0 comments on commit 40ea4c4

Please sign in to comment.