don't clone copy types
This commit is contained in:
parent
158f8d034b
commit
17a8c1017f
6 changed files with 10 additions and 10 deletions
|
@ -116,7 +116,7 @@ pub struct NativeLib {
|
|||
|
||||
impl From<&cstore::NativeLib> for NativeLib {
|
||||
fn from(lib: &cstore::NativeLib) -> Self {
|
||||
NativeLib { kind: lib.kind.clone(), name: lib.name.clone(), cfg: lib.cfg.clone() }
|
||||
NativeLib { kind: lib.kind, name: lib.name, cfg: lib.cfg.clone() }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue