mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Correctly recognize defined spans.
Without this change, the `to_range` method method returns `None` even when spans are enabled.
This commit is contained in:
committed by
Dzmitry Malyshau
parent
d31121df77
commit
e5ba11332f
@@ -54,7 +54,7 @@ impl Span {
|
||||
|
||||
/// Check wether `self` was defined or is a default/unknown span
|
||||
fn is_defined(&self) -> bool {
|
||||
*self == Self::default()
|
||||
*self != Self::default()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user