summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs4
1 files 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<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.