Skip to content

Commit

Permalink
clippy allow
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 10, 2023
1 parent e7d5851 commit a1cc803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/preprocessor/src/processor/defines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ impl Processor {
buffer.push(Output::Macro(ident.clone(), layer));
self.defines.pop();
}
#[allow(clippy::needless_collect)] // causes recursion at runtime otherwise
Definition::Value(body) => {
let mut layer = Vec::new();
let body: Vec<_> = body.into_iter().filter(|t| !t.symbol().is_join()).collect();
Expand Down

0 comments on commit a1cc803

Please sign in to comment.