diff --git a/src/lines.rs b/src/lines.rs index 60a95dcc1..f0d69102a 100644 --- a/src/lines.rs +++ b/src/lines.rs @@ -177,8 +177,8 @@ impl> MaxLine for S { } } -/// Split `s` on \n or \r\n. Always returns a non-empty vec. Does not -/// include the trailing newline. +/// Split `s` on \n or \r\n. Always returns a non-empty vec. Each line +/// in the vec does not include the trailing newline. /// /// This differs from `str::lines`, which considers `""` to be zero /// lines and `"foo\n"` to be one line.