1
Fork 0
This commit is contained in:
bendn 2025-03-19 10:45:42 +07:00
parent 75530e9f72
commit 7a8cdf00e6
No known key found for this signature in database
GPG key ID: 0D9D3A2A3B2A93D6

View file

@ -1704,11 +1704,7 @@ pub trait Iterator {
/// self.state = self.state + 1;
///
/// // if it's even, Some(i32), else None
/// if val % 2 == 0 {
/// Some(val)
/// } else {
/// None
/// }
/// (val % 2 == 0).then_some(val)
/// }
/// }
///