summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util.rs b/src/util.rs
index db27303..96cb1c5 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -3,14 +3,6 @@ use std::path::Path;
use {raw, Error};
-#[doc(hidden)]
-pub trait Binding: Sized {
- type Raw;
-
- unsafe fn from_raw(raw: Self::Raw) -> Self;
- fn raw(&self) -> Self::Raw;
-}
-
#[cfg(unix)]
pub fn path2bytes(p: &Path) -> Result<Cow<[u8]>, Error> {
use std::ffi::OsStr;