mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
b688d84a4b
This test kills the following mutant: diff --git a/crates/mbe/src/tt_iter.rs b/crates/mbe/src/tt_iter.rs index 9d2b1da9a..055d9a733 100644 --- a/crates/mbe/src/tt_iter.rs +++ b/crates/mbe/src/tt_iter.rs @@ -134,7 +134,7 @@ impl<'a> TtIter<'a> { self.inner = self.inner.as_slice()[res.len()..].iter(); let res = match res.len() { 1 => Some(res[0].cloned()), - 0 => None, + // 0 => None, _ => Some(tt::TokenTree::Subtree(tt::Subtree { delimiter: None, token_trees: res.into_iter().map(|it| it.cloned()).collect(), |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |