diff options
Diffstat (limited to 'nix-rust/src')
-rw-r--r-- | nix-rust/src/c.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nix-rust/src/c.rs b/nix-rust/src/c.rs index dc2f8ddf5..c1358545f 100644 --- a/nix-rust/src/c.rs +++ b/nix-rust/src/c.rs @@ -65,13 +65,6 @@ pub extern "C" fn ffi_StorePath_clone(self_: &StorePath) -> StorePath { } #[no_mangle] -pub extern "C" fn ffi_StorePath_clone_to(self_: &StorePath, other: *mut StorePath) { - unsafe { - core::ptr::write(other, self_.clone()); - } -} - -#[no_mangle] pub extern "C" fn ffi_StorePath_name(self_: &StorePath) -> &str { self_.name.name() } |