There was an error while loading. Please reload this page.
1 parent 8df658d commit 02d680fCopy full SHA for 02d680f
1 file changed
naga/src/back/spv/helpers.rs
@@ -29,7 +29,7 @@ pub(super) fn debug_str_bytes_to_words(bytes: &[u8]) -> Vec<Word> {
29
sanitized = bytes
30
.iter()
31
.map(|&b| if b == 0 { b'?' } else { b })
32
- .collect::<Vec<u8>>();
+ .collect::<Vec<_>>();
33
&sanitized[..]
34
} else {
35
bytes
0 commit comments