From 21e1a3e05e5f687b31aa69e7d628c050c8876673 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 7 Sep 2025 23:51:04 -0400 Subject: Clarify read_until_lf docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 44911c5..7815571 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -279,8 +279,8 @@ fn parse_list(_location: &Location, _string: &str) -> Vec { 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. -- cgit v1.2.3