mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Fix several warnings when ktest is enabled
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
0f9285d72b
commit
49692c2068
@ -120,7 +120,7 @@ fn test_alloc_dealloc() {
|
||||
let mut contiguous_options = FrameAllocOptions::new(10);
|
||||
contiguous_options.is_contiguous(true);
|
||||
let mut remember_vec = Vec::new();
|
||||
for i in 0..10 {
|
||||
for _ in 0..10 {
|
||||
for i in 0..10 {
|
||||
let single_frame = single_options.alloc_single().unwrap();
|
||||
if i % 3 == 0 {
|
||||
|
Reference in New Issue
Block a user