Skip to content

Commit

Permalink
typo in cfg: Use feature = "tracing", not "trace"
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored and zakarumych committed May 7, 2024
1 parent 7b71a4e commit 4a63bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpu-descriptor/src/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ impl<P> DescriptorBucket<P> {
}
DeviceAllocationError::FragmentedPool => {
// Should not happen, but better this than panicing.
#[cfg(feature = "trace")]
trace::error!("Unexpectedly failed to allocated descriptor sets due to pool fragmentation");
#[cfg(feature = "tracing")]
tracing::error!("Unexpectedly failed to allocated descriptor sets due to pool fragmentation");
}
DeviceAllocationError::OutOfPoolMemory => {}
}
Expand Down

0 comments on commit 4a63bd0

Please sign in to comment.