From 1ae21108015cea87e5360402e1747025116c7878 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Mon, 20 Feb 2017 20:31:57 -0500 Subject: [PATCH] fix: fixes a trait that's marked private accidentlly, but should be crate internal public --- src/osstringext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osstringext.rs b/src/osstringext.rs index 21651085a5a..303cbcbef89 100644 --- a/src/osstringext.rs +++ b/src/osstringext.rs @@ -5,7 +5,7 @@ use std::ffi::OsStr; use std::os::unix::ffi::OsStrExt; #[cfg(target_os = "windows")] -trait OsStrExt3 { +pub trait OsStrExt3 { fn from_bytes(b: &[u8]) -> &Self; fn as_bytes(&self) -> &[u8]; }