mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
a1b183f736
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE.APACHE | ||
LICENSE.MIT |