mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 11:23:25 +00:00
Update dev image for OSDK and bump version to 0.4.0
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
674c35079c
commit
bd878dd1c9
@ -95,7 +95,6 @@ pub mod tree;
|
||||
|
||||
extern crate alloc;
|
||||
use alloc::{boxed::Box, string::String};
|
||||
use core::result::Result;
|
||||
|
||||
pub use ktest_proc_macro::ktest;
|
||||
|
||||
@ -220,9 +219,7 @@ impl core::iter::Iterator for KtestIter {
|
||||
type Item = KtestItem;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
let Some(ktest_item) = ktest_array!().get(self.index) else {
|
||||
return None;
|
||||
};
|
||||
let ktest_item = ktest_array!().get(self.index)?;
|
||||
self.index += 1;
|
||||
Some(ktest_item.clone())
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ use alloc::{
|
||||
vec,
|
||||
vec::Vec,
|
||||
};
|
||||
use core::iter::{FromIterator, Iterator};
|
||||
|
||||
use crate::{
|
||||
path::{KtestPath, PathElement},
|
||||
|
Reference in New Issue
Block a user