mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 11:07:59 +00:00
Use absolute paths to Ok and Err
This commit is contained in:
+1
-1
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user