Change #[must_use] message of Iterator in documentation
This commit is contained in:
parent
a6535d78dc
commit
da933cca1a
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@
|
|||
//! using it. The compiler will warn us about this kind of behavior:
|
||||
//!
|
||||
//! ```text
|
||||
//! warning: unused result that must be used: iterator adaptors are lazy and
|
||||
//! warning: unused result that must be used: iterators are lazy and
|
||||
//! do nothing unless consumed
|
||||
//! ```
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue