Use absolute paths to Ok and Err

This commit is contained in:
David Tolnay
2017-02-01 09:42:12 -08:00
parent d960571439
commit b7ca574bb3
4 changed files with 27 additions and 23 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use collections::borrow::Cow;
pub use core::default::Default;
pub use core::fmt;
pub use core::marker::PhantomData;
pub use core::result::Result;
pub use core::result::Result::{self, Ok, Err};
#[cfg(any(feature = "collections", feature = "std"))]
pub fn from_utf8_lossy(bytes: &[u8]) -> Cow<str> {