Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ouz-a committed Dec 6, 2023
1 parent a07db34 commit fb258eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kani-compiler/src/codegen_cprover_gotoc/utils/names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl<'tcx> GotocCtx<'tcx> {
pub fn codegen_var_base_name(&self, l: &Local) -> String {
match self.find_debug_info(l) {
None => format!("var_{}", l.index()),
Some(info) => format!("{}", info.name),
Some(info) => info.name,
}
}

Expand Down

0 comments on commit fb258eb

Please sign in to comment.