Skip to content

Commit bb73f78

Browse files
Remove unused unit return
1 parent fcc05b8 commit bb73f78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/stencil/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl Data {
9797
pub fn exec<F>(&mut self, f: F)
9898
where
9999
F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
100-
&[f32; 4], &[f32], &mut [f32], &mut [f32]) -> (),
100+
&[f32; 4], &[f32], &mut [f32], &mut [f32]),
101101
{
102102
f(
103103
self.t.0, self.t.1,

examples/stencil/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::env;
88
fn run<F>(name: &str, f: F)
99
where
1010
F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
11-
&[f32; 4], &[f32], &mut [f32], &mut [f32]) -> (),
11+
&[f32; 4], &[f32], &mut [f32], &mut [f32]),
1212
{
1313
let mut d = Data::benchmark();
1414
let t = time::Duration::span(move || d.exec(f));

0 commit comments

Comments
 (0)