Removing asserts

This commit is contained in:
Ryan Summers 2021-08-02 14:40:02 +02:00
parent 2f2e38f31c
commit 78bad36526
2 changed files with 0 additions and 2 deletions

View File

@ -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,

View File

@ -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,