mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 01:43:22 +00:00
Fix multiple deprecation problems
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
cda8ffa7da
commit
952fbacaf1
@ -152,7 +152,7 @@ fn match_and_call(
|
||||
} else {
|
||||
panic!("The path of {} cannot recognized by component system", str);
|
||||
}
|
||||
str = str.trim_end_matches('/').to_owned();
|
||||
let str = str.trim_end_matches('/').to_owned();
|
||||
|
||||
let mut info = components
|
||||
.remove(&str)
|
||||
|
Reference in New Issue
Block a user