Removing asserts
This commit is contained in:
parent
2f2e38f31c
commit
78bad36526
@ -333,7 +333,6 @@ const APP: () = {
|
||||
.chain(dac_samples.iter())
|
||||
.zip(buf.chunks_exact_mut(N))
|
||||
{
|
||||
assert_eq!(core::mem::size_of_val(*data), N);
|
||||
let data = unsafe {
|
||||
core::slice::from_raw_parts(
|
||||
data.as_ptr() as *const u8,
|
||||
|
@ -412,7 +412,6 @@ const APP: () = {
|
||||
.chain(dac_samples.iter())
|
||||
.zip(buf.chunks_exact_mut(N))
|
||||
{
|
||||
assert_eq!(core::mem::size_of_val(*data), N);
|
||||
let data = unsafe {
|
||||
core::slice::from_raw_parts(
|
||||
data.as_ptr() as *const u8,
|
||||
|
Loading…
Reference in New Issue
Block a user