diff --git a/src/io/mod.rs b/src/io/mod.rs index cd38cbc..85d2d69 100644 --- a/src/io/mod.rs +++ b/src/io/mod.rs @@ -61,7 +61,7 @@ pub trait Read { /// If the return value of this method is [`Ok(n)`], then it must be /// guaranteed that `0 <= n <= buf.len()`. A nonzero `n` value indicates /// that the buffer `buf` has been filled in with `n` bytes of data from this - /// source. If `n` is `0`, then it can indicate that the the buffer + /// source. If `n` is `0`, then it can indicate that the buffer /// specified was 0 bytes in length. /// /// No guarantees are provided about the contents of `buf` when this diff --git a/src/iterable/rev.rs b/src/iterable/rev.rs index d6e6926..ed752d3 100644 --- a/src/iterable/rev.rs +++ b/src/iterable/rev.rs @@ -4,7 +4,7 @@ use crate::iter::Rev; /// Stream that goes over an `[ExactSizeIterator]` in reverse order. /// /// This stream allows to switch fast from little endian ordering used in -/// time-efficient algorithms, e.g. in slices `&[T]` into big endia ordering +/// time-efficient algorithms, e.g. in slices `&[T]` into big endian ordering /// (used in space-efficient algorithms. /// /// # Examples