409 |
#[allow(clippy::unsound_collection_transmute)]
|
410 |
#[inline(always)]
|
461 |
#[allow(clippy::unsound_collection_transmute)]
|
462 |
#[inline(always)]
|
302 |
// If the index array overflows we will just get an OOB and crash which is fine.
|
303 |
#[allow(clippy::unsound_collection_transmute)]
|
304 |
let indices = Int32Array::from_vec(unsafe { std::mem::transmute::<_, Vec<i32>>(mesh.indices) });
|
71 |
String::from_utf8(unsafe {
|
72 |
#[allow(clippy::unsound_collection_transmute)]
|
73 |
std::mem::transmute(info_log_bytes)
|
106 |
String::from_utf8(unsafe {
|
107 |
#[allow(clippy::unsound_collection_transmute)]
|
108 |
std::mem::transmute(info_log_bytes)
|
54 |
let name = String::from_utf8(unsafe {
|
55 |
#[allow(clippy::unsound_collection_transmute)]
|
56 |
std::mem::transmute(buf)
|
91 |
let name = String::from_utf8(unsafe {
|
92 |
#[allow(clippy::unsound_collection_transmute)]
|
93 |
std::mem::transmute(buf)
|
2218 |
// size. Still best to swap to Vec::into_raw_parts asap.
|
2219 |
#[allow(clippy::unsound_collection_transmute)]
|
2220 |
unsafe {
|