Skip to content

Commit af506a0

Browse files
committed
Inline format args
1 parent b741391 commit af506a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/variogram.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl Distance for Haversine {
118118
}
119119

120120
fn check_dim(dim: usize) {
121-
assert_eq!(dim, 2, "Haversine: dim = {} != 2", dim);
121+
assert_eq!(dim, 2, "Haversine: dim = {dim} != 2");
122122
}
123123
}
124124

0 commit comments

Comments
 (0)