summaryrefslogtreecommitdiffstats
path: root/nix-rust
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-11 13:10:46 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-11-26 22:07:28 +0100
commitd33dd6e6c09d87a59989057ad622a6265ddec2e0 (patch)
treea05bc9fef86c320e0b72225e5dba6c8b61044f19 /nix-rust
parentd14b1c261cd3dfb4be2da943d901a394c3f23205 (diff)
Move code around
Diffstat (limited to 'nix-rust')
-rw-r--r--nix-rust/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/nix-rust/src/lib.rs b/nix-rust/src/lib.rs
index 48952d8b9..1b88ac8af 100644
--- a/nix-rust/src/lib.rs
+++ b/nix-rust/src/lib.rs
@@ -14,7 +14,6 @@ impl<T> CBox<T> {
unsafe {
let size = std::mem::size_of::<T>();
let ptr = libc::malloc(size);
- eprintln!("PTR = {:?}, SIZE = {}", ptr, size);
*(ptr as *mut T) = t; // FIXME: probably UB
Self {
ptr,