Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: coldWater <[email protected]>
  • Loading branch information
forsaken628 committed Nov 13, 2024
1 parent fd35133 commit 798d5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/base/src/base/dma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ mod tests {

#[test]
fn test_dma_buffer_to_bytes() {
let want = (0..10_u8).into_iter().collect::<Vec<_>>();
let want = (0..10_u8).collect::<Vec<_>>();
let alloc = DmaAllocator::new(Alignment::new(4096).unwrap());
let mut buf = DmaBuffer::with_capacity_in(3000, alloc);
buf.extend_from_slice(&want);
Expand Down

0 comments on commit 798d5cb

Please sign in to comment.