Skip to content

Commit 588592b

Browse files
committed
lint: remove unnecessary parentheses
1 parent 1dd207c commit 588592b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ pub trait Iterator {
14081408
/// *state = *state * x;
14091409
///
14101410
/// // ... and terminate if the state exceeds 6
1411-
/// if (*state > 6) {
1411+
/// if *state > 6 {
14121412
/// return None;
14131413
/// }
14141414
/// // ... else yield the negation of the state

0 commit comments

Comments
 (0)