Skip to content

Commit da933cc

Browse files
committed
Change #[must_use] message of Iterator in documentation
1 parent a6535d7 commit da933cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
//! using it. The compiler will warn us about this kind of behavior:
244244
//!
245245
//! ```text
246-
//! warning: unused result that must be used: iterator adaptors are lazy and
246+
//! warning: unused result that must be used: iterators are lazy and
247247
//! do nothing unless consumed
248248
//! ```
249249
//!

0 commit comments

Comments
 (0)