From 12052403a70f7ace21004fa95dddf5e743b3b6dc Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Thu, 30 Dec 2021 01:02:54 -0500 Subject: [PATCH] Fix trac(y/ing) compile issue --- wgpu-core/src/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-core/src/instance.rs b/wgpu-core/src/instance.rs index abdc563343..4c6ddc7ee0 100644 --- a/wgpu-core/src/instance.rs +++ b/wgpu-core/src/instance.rs @@ -535,7 +535,7 @@ impl Global { None => return, }; - profiling::scope!("enumerating", format!("{:?}", A::VARIANT)); + profiling::scope!("enumerating", &*format!("{:?}", A::VARIANT)); let hub = HalApi::hub(self); let mut token = Token::root();