diff options
author | Wez Furlong <wez@wezfurlong.org> | 2020-01-18 16:09:09 -0800 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2020-01-18 16:09:09 -0800 |
commit | bd8e51d16299580408888773774d70c4d8743f4b (patch) | |
tree | 473a8ab21aeb5390cdcb6bd6cf69002572229039 /src | |
parent | ebea1cce2a4c550ad11dbf10c20ab2379a37a0e2 (diff) | |
download | ssh2-rs-bd8e51d16299580408888773774d70c4d8743f4b.zip |
remove now-unused Binding trait
Diffstat (limited to 'src')
-rw-r--r-- | src/util.rs | 8 |
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; |