We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbd1b1a commit 777d211Copy full SHA for 777d211
src/ir/var.rs
@@ -141,7 +141,7 @@ fn handle_function_macro(
141
tokens: &[ClangToken],
142
callbacks: &dyn crate::callbacks::ParseCallbacks,
143
) -> Result<(), ParseError> {
144
- let mut spelled = tokens.into_iter().map(ClangToken::spelling);
+ let mut spelled = tokens.iter().map(ClangToken::spelling);
145
let boundary = spelled
146
.clone() // clone the iterator to avoid consuming elements
147
.position(|s| s == b")");
0 commit comments