Change #[must_use] message of Iterator in documentation

This commit is contained in:
Taiki Endo 2019-01-13 15:17:57 +09:00
parent a6535d78dc
commit da933cca1a

View file

@ -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
//! ```
//!