Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Nov 25, 2024
1 parent 831c1f1 commit ff8bf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cidre-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ fn try_replace_return(tokens: &mut Vec<TokenTree>) -> bool {
let var = upper_case(&var.to_string());
let stream = TokenStream::from_str(&format!("{{ unsafe {{ {var}.get_var() }} }}")).unwrap();
tokens.extend(stream);
return true;
true
}

// Super simple, but stable upper_case impl
Expand Down

0 comments on commit ff8bf1e

Please # to comment.