From 4a63bd08926e569c819562421caac4b829970870 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 7 May 2024 22:10:17 +0700 Subject: [PATCH] typo in cfg: Use `feature = "tracing"`, not `"trace"` --- gpu-descriptor/src/allocator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpu-descriptor/src/allocator.rs b/gpu-descriptor/src/allocator.rs index 96fc073..459492f 100644 --- a/gpu-descriptor/src/allocator.rs +++ b/gpu-descriptor/src/allocator.rs @@ -314,8 +314,8 @@ impl

DescriptorBucket

{ } 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 => {} }