diff options
author | Matthias Krüger <[email protected]> | 2021-03-21 12:13:34 +0000 |
---|---|---|
committer | Matthias Krüger <[email protected]> | 2021-03-21 12:13:34 +0000 |
commit | ae7e55c1dd801c60092205ec8890179e10a47814 (patch) | |
tree | 7e55e7a0c144610d55509b3e28bde0edf0953e39 /crates/mbe/src | |
parent | bd407a9882250cbbb0897faba08e7d5ef80a4862 (diff) |
clippy::complexity simplifications related to Iterators
Diffstat (limited to 'crates/mbe/src')
-rw-r--r-- | crates/mbe/src/tests/expand.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/mbe/src/tests/expand.rs b/crates/mbe/src/tests/expand.rs index 2cce62781..8951f3813 100644 --- a/crates/mbe/src/tests/expand.rs +++ b/crates/mbe/src/tests/expand.rs | |||
@@ -1225,8 +1225,7 @@ macro_rules! m { | |||
1225 | ) | 1225 | ) |
1226 | .expand_statements(r#"m!(C("0"))"#) | 1226 | .expand_statements(r#"m!(C("0"))"#) |
1227 | .descendants() | 1227 | .descendants() |
1228 | .find(|token| token.kind() == ERROR) | 1228 | .any(|token| token.kind() == ERROR)); |
1229 | .is_some()); | ||
1230 | } | 1229 | } |
1231 | 1230 | ||
1232 | #[test] | 1231 | #[test] |