diff options
author | pommicket <pommicket@gmail.com> | 2025-09-07 23:51:04 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-07 23:51:04 -0400 |
commit | 21e1a3e05e5f687b31aa69e7d628c050c8876673 (patch) | |
tree | 775115ffd8afb9123e039d8d0f31d2276a4334ac /src | |
parent | 37f4664a3d363f72df89e19947f22548a7df0963 (diff) |
Clarify read_until_lf docs
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -279,8 +279,8 @@ fn parse_list(_location: &Location, _string: &str) -> Vec<String> { pub trait Read { /// Read up to the next line feed (or EOF), not including the line feed itself. /// - /// Puts the line in `line` and returns `Ok(true)`, if the end of file has been reached, - /// `line` is unmodified and `Ok(false)` is returned. + /// Puts the line in `line` and returns `Ok(true)`. + /// If the end of file has been reached, `line` is unmodified and `Ok(false)` is returned. /// /// You don't need to check for valid UTF-8 here — that is already done in the code which uses /// this trait. |