Skip to content

Commit 2864dc6

Browse files
committed
Fix compiler warning for examples/demo.rs (unnecessary parentheses)
1 parent 44db502 commit 2864dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ fn on_wacom_input(app: &mut appctx::ApplicationContext<'_>, input: input::WacomE
535535
];
536536
let radii: Vec<f32> = points
537537
.iter()
538-
.map(|point| ((mult as f32 * (point.1 as f32) / 2048.) / 2.0))
538+
.map(|point| (mult as f32 * (point.1 as f32) / 2048.) / 2.0)
539539
.collect();
540540
// calculate control points
541541
let start_point = points[2].0.midpoint(points[1].0);

0 commit comments

Comments
 (0)