Fix typo in docstring for slice
This commit is contained in:
parent
c89de2c56b
commit
256e78a39c
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@
|
|||
//!
|
||||
//! ## Iteration
|
||||
//!
|
||||
//! The slices implement `IntoIterator`. The iterators of yield references
|
||||
//! to the slice elements.
|
||||
//! The slices implement `IntoIterator`. The iterator yields references to the
|
||||
//! slice elements.
|
||||
//!
|
||||
//! ```
|
||||
//! let numbers = &[0, 1, 2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue