Fix module description ownership mapping
parent
90729e2bd4
commit
d0464499a0
|
|
@ -243,8 +243,8 @@ impl<'a> ModuleDescriptionRef<'a> {
|
||||||
ModuleDescription {
|
ModuleDescription {
|
||||||
name: self.name .as_ref().map(|s| s.clone().into_owned()),
|
name: self.name .as_ref().map(|s| s.clone().into_owned()),
|
||||||
shortname: self.shortname.as_ref().map(|s| s.clone().into_owned()),
|
shortname: self.shortname.as_ref().map(|s| s.clone().into_owned()),
|
||||||
longname: self.name .as_ref().map(|s| s.clone().into_owned()),
|
longname: self.longname .as_ref().map(|s| s.clone().into_owned()),
|
||||||
help: self.shortname.as_ref().map(|s| s.clone().into_owned()),
|
help: self.help .as_ref().map(|s| s.clone().into_owned()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue