Fix lint error in cargo-component

This commit is contained in:
jiangjianfeng
2024-12-02 08:19:13 +00:00
committed by Tate, Hongliang Tian
parent ecad132ec9
commit 80cd1b69f7

View File

@ -48,7 +48,7 @@ impl Config {
pub fn component_path(&self, component_ident: &str) -> ComponentName {
self.components
.get(component_ident)
.expect("Undefinded component name")
.expect("Undefined component name")
.clone()
}