@@ -28,26 +28,26 @@ pub type FrontMatterEvents<'a> = SmallVec<[Event<'a>; 8]>;
2828///
2929/// For concrete examples, some notable differences are:
3030/// - `git-config` sections permit subsections via either a quoted string
31- /// (`[some-section "subsection"]`) or via the deprecated dot notation
32- /// (`[some-section.subsection]`). Successful parsing these section names is not
33- /// well defined in typical `.ini` parsers. This parser will handle these cases
34- /// perfectly.
31+ /// (`[some-section "subsection"]`) or via the deprecated dot notation
32+ /// (`[some-section.subsection]`). Successful parsing these section names is not
33+ /// well defined in typical `.ini` parsers. This parser will handle these cases
34+ /// perfectly.
3535/// - Comment markers are not strictly defined either. This parser will always
36- /// and only handle a semicolon or octothorpe (also known as a hash or number
37- /// sign).
36+ /// and only handle a semicolon or octothorpe (also known as a hash or number
37+ /// sign).
3838/// - Global properties may be allowed in `.ini` parsers, but is strictly
39- /// disallowed by this parser.
39+ /// disallowed by this parser.
4040/// - Only `\t`, `\n`, `\b` `\\` are valid escape characters.
4141/// - Quoted and semi-quoted values will be parsed (but quotes will be included
42- /// in event outputs). An example of a semi-quoted value is `5"hello world"`,
43- /// which should be interpreted as `5hello world` after
44- /// [normalization][crate::value::normalize()].
42+ /// in event outputs). An example of a semi-quoted value is `5"hello world"`,
43+ /// which should be interpreted as `5hello world` after
44+ /// [normalization][crate::value::normalize()].
4545/// - Line continuations via a `\` character is supported (inside or outside of quotes)
4646/// - Whitespace handling similarly follows the `git-config` specification as
47- /// closely as possible, where excess whitespace after a non-quoted value are
48- /// trimmed, and line continuations onto a new line with excess spaces are kept.
47+ /// closely as possible, where excess whitespace after a non-quoted value are
48+ /// trimmed, and line continuations onto a new line with excess spaces are kept.
4949/// - Only equal signs (optionally padded by spaces) are valid name/value
50- /// delimiters.
50+ /// delimiters.
5151///
5252/// Note that things such as case-sensitivity or duplicate sections are
5353/// _not_ handled. This parser is a low level _syntactic_ interpreter
@@ -62,8 +62,8 @@ pub type FrontMatterEvents<'a> = SmallVec<[Event<'a>; 8]>;
6262/// # Trait Implementations
6363///
6464/// - This struct does _not_ implement [`FromStr`] due to lifetime
65- /// constraints implied on the required `from_str` method. Instead, it provides
66- /// [`From<&'_ str>`].
65+ /// constraints implied on the required `from_str` method. Instead, it provides
66+ /// [`From<&'_ str>`].
6767///
6868/// # Idioms
6969///
0 commit comments