Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
stevekrouse committed Mar 25, 2022
1 parent 1442139 commit 8991318
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions zaplib/examples/benchmark_json/zaplib/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ fn call_rust(_name: String, _params: Vec<ZapParam>) -> Vec<ZapParam> {
calc(jobj);
let end: UniversalInstant = Instant::now();

vec![
vec![
end_p.duration_since(start_p).as_millis() as u32,
end.duration_since(start).as_millis() as u32
].into_param()
]
vec![vec![end_p.duration_since(start_p).as_millis() as u32, end.duration_since(start).as_millis() as u32].into_param()]
}

register_call_rust!(call_rust);

1 comment on commit 8991318

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.