mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01: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:
1 parent
d31121df77
commit
e5ba11332f
1 file changed
+1
-1
+1
-1
@@ -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