mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 10:53:25 +00:00
Fix OSDK lint warnings from the new tool-chain
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
002a67451d
commit
e78303b01a
@ -170,7 +170,7 @@ fn get_src_path<'a>(cargo_metadata: &'a serde_json::Value, crate_name: &str) ->
|
||||
|
||||
let target = &targets[0];
|
||||
let src_path = target.get("src_path").unwrap();
|
||||
return src_path.as_str().unwrap();
|
||||
src_path.as_str().unwrap()
|
||||
}
|
||||
|
||||
fn get_workspace_root(cargo_metadata: &serde_json::Value) -> &str {
|
||||
|
Reference in New Issue
Block a user