stall: the timeline's read needs no first value: every look reads it
Clippy (all three ways) refused the unused initial value.
This commit is contained in:
1 parent
64982ac827
commit
779d1be52a
1 file changed
+1
-1
@@ -139,7 +139,7 @@ pub(super) fn probe(
|
||||
.and_then(|mut staging| staging.probe());
|
||||
let began = Instant::now();
|
||||
let mut fence_read: Option<vk::Result> = None;
|
||||
let mut timeline_read: Result<u64, vk::Result> = Ok(0);
|
||||
let mut timeline_read: Result<u64, vk::Result>;
|
||||
let mut answered: Result<bool, String> = Ok(false);
|
||||
let verdict = loop {
|
||||
if let Some(fence) = fence {
|
||||
|
||||
Reference in new issue
Block a user