mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Fix lint error in cargo-component
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
ecad132ec9
commit
80cd1b69f7
@ -48,7 +48,7 @@ impl Config {
|
|||||||
pub fn component_path(&self, component_ident: &str) -> ComponentName {
|
pub fn component_path(&self, component_ident: &str) -> ComponentName {
|
||||||
self.components
|
self.components
|
||||||
.get(component_ident)
|
.get(component_ident)
|
||||||
.expect("Undefinded component name")
|
.expect("Undefined component name")
|
||||||
.clone()
|
.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user