mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
We allocate a String every time we want to get a label for logging. The string is also allocated when logging is disabled. Either way, the allocation is unnecessary. This commit replaces the String with a dyn Debug reference which does not need any allocation.