Skip to content

Commit

Permalink
Update Clippy and fix lints (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Aug 7, 2023
1 parent 160fa8c commit cdd4691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.67.0 # Pinned to prevent breakages
toolchain: 1.71.0 # Pinned to prevent breakages
components: clippy
- run: cargo clippy --all --all-features -- -D warnings

Expand Down
2 changes: 1 addition & 1 deletion fiat-constify/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn rewrite_fn_as_const(func: &mut ItemFn, type_registry: &TypeRegistry) {
fn rewrite_fn_body(statements: &[Stmt], outputs: &Outputs, registry: &TypeRegistry) -> Block {
let mut stmts = Vec::new();

stmts.extend(outputs.to_let_bindings(registry).into_iter());
stmts.extend(outputs.to_let_bindings(registry));

for stmt in statements {
let mut stmt = stmt.clone();
Expand Down

0 comments on commit cdd4691

Please sign in to comment.