Skip to content

Commit 4369cd5

Browse files
committed
more clippy fixes
1 parent bbb52cf commit 4369cd5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626
- name: "Install clang-format"
2727
run: sudo apt install -y clang-format
28+
- name: "Cargo version"
29+
run: cargo version
2830
- name: "Run formatting checks"
2931
run: ./bin/invrs_wrapper.sh format-code --check

invrs/src/tasks/eval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ impl Eval {
10611061
stroke_width: 2,
10621062
};
10631063

1064-
let this_y = (y / y_ref) as f64;
1064+
let this_y = y / y_ref;
10651065
let mut bar = Rectangle::new(
10661066
[
10671067
(x_orig + x as f64, 0 as f64),

0 commit comments

Comments
 (0)