1
Fork 0

Fix typo in docstring for slice

This commit is contained in:
Nicholas Bishop 2015-03-28 22:06:42 -04:00
parent c89de2c56b
commit 256e78a39c

View file

@ -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];