We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac6cd7 commit 2a32a8cCopy full SHA for 2a32a8c
library/core/src/iter/traits/iterator.rs
@@ -4088,7 +4088,6 @@ pub trait Iterator {
4088
/// assert!(!["a", "b", "c"].iter().contains(&"d"));
4089
/// assert!(["a".to_owned(), "b".to_owned(), "c".to_owned()].iter().contains(&"b"));
4090
/// assert!(!["a".to_owned(), "b".to_owned(), "c".to_owned()].iter().contains(&"d"));
4091
- /// assert!((1..1000).contains(500i32));
4092
/// ```
4093
///
4094
#[unstable(feature = "iter_contains", reason = "new API", issue = "127494")]
0 commit comments