Skip to content

Commit

Permalink
Fix even more warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Tej Chajed <[email protected]>
  • Loading branch information
tchajed committed Jul 21, 2023
1 parent 09fddf4 commit 6a2907b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions inference/src/quant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ sort C
vec![0, 1, 2],
&[2, 1, 2],
);
let a = |i: usize| format!("A_{}", i);
let b = |i: usize| format!("B_{}", i);
let c = |i: usize| format!("C_{}", i);
let a = |i: usize| format!("A_{i}");
let b = |i: usize| format!("B_{i}");
let c = |i: usize| format!("C_{i}");
let ta = |i: usize| Term::Id(a(i));
let tb = |i: usize| Term::Id(b(i));
let tc = |i: usize| Term::Id(c(i));
Expand Down
2 changes: 1 addition & 1 deletion temporal-verifier/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ impl App {
"answer: safe up to {} for given sort bounds",
bounded
.depth
.map(|d| format!("depth {}", d))
.map(|d| format!("depth {d}"))
.unwrap_or("any depth".to_string())
);
}
Expand Down

0 comments on commit 6a2907b

Please sign in to comment.