Skip to content

Commit 2c5a572

Browse files
committed
cargo clippy --fix rustc_codegen_c_ast
1 parent 77a7b32 commit 2c5a572

File tree

1 file changed

+1
-1
lines changed
  • crates/rustc_codegen_c_ast/src

1 file changed

+1
-1
lines changed

crates/rustc_codegen_c_ast/src/func.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl<'mx> CFuncKind<'mx> {
4747
}
4848

4949
/// Get a new unique local variable.
50-
pub fn next_local_var(&self) -> CValue {
50+
pub fn next_local_var(&self) -> CValue<'_> {
5151
let val = CValue::Local(self.local_var_counter.get());
5252
self.local_var_counter.set(self.local_var_counter.get() + 1);
5353
val

0 commit comments

Comments
 (0)