Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clippy fix
Browse files Browse the repository at this point in the history
Wumpf committed Sep 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 253ae66 commit 4ea156f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/timestamp-queries/src/main.rs
Original file line number Diff line number Diff line change
@@ -60,9 +60,9 @@ impl QueryResults {
let mut encoder_timestamps = [0, 0];
encoder_timestamps[0] = get_next_slot();
let render_start_end_timestamps = [get_next_slot(), get_next_slot()];
let render_inside_timestamp = timestamps_inside_passes.then(|| get_next_slot());
let render_inside_timestamp = timestamps_inside_passes.then(get_next_slot);
let compute_start_end_timestamps = [get_next_slot(), get_next_slot()];
let compute_inside_timestamp = timestamps_inside_passes.then(|| get_next_slot());
let compute_inside_timestamp = timestamps_inside_passes.then(get_next_slot);
encoder_timestamps[1] = get_next_slot();

QueryResults {

0 comments on commit 4ea156f

Please sign in to comment.