Skip to content

Commit cdd4691

Browse files
authored
Update Clippy and fix lints (#932)
1 parent 160fa8c commit cdd4691

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: RustCrypto/actions/cargo-cache@master
2121
- uses: dtolnay/rust-toolchain@master
2222
with:
23-
toolchain: 1.67.0 # Pinned to prevent breakages
23+
toolchain: 1.71.0 # Pinned to prevent breakages
2424
components: clippy
2525
- run: cargo clippy --all --all-features -- -D warnings
2626

fiat-constify/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn rewrite_fn_as_const(func: &mut ItemFn, type_registry: &TypeRegistry) {
146146
fn rewrite_fn_body(statements: &[Stmt], outputs: &Outputs, registry: &TypeRegistry) -> Block {
147147
let mut stmts = Vec::new();
148148

149-
stmts.extend(outputs.to_let_bindings(registry).into_iter());
149+
stmts.extend(outputs.to_let_bindings(registry));
150150

151151
for stmt in statements {
152152
let mut stmt = stmt.clone();

0 commit comments

Comments
 (0)