diff --git a/src/macros.rs b/src/macros.rs index 730aecfc..a9813b59 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -244,7 +244,7 @@ macro_rules! simple_enum { $($v),+ } - impl std::str::FromStr for $e { + impl ::std::str::FromStr for $e { type Err = String; fn from_str(s: &str) -> Result { @@ -300,7 +300,7 @@ macro_rules! arg_enum { $($v),+ } - impl std::str::FromStr for $e { + impl ::std::str::FromStr for $e { type Err = String; fn from_str(s: &str) -> Result { @@ -321,7 +321,7 @@ macro_rules! arg_enum { $($v),+ } - impl std::str::FromStr for $e { + impl ::std::str::FromStr for $e { type Err = String; fn from_str(s: &str) -> Result { @@ -343,7 +343,7 @@ macro_rules! arg_enum { $($v),+ } - impl std::str::FromStr for $e { + impl ::std::str::FromStr for $e { type Err = String; fn from_str(s: &str) -> Result { @@ -365,7 +365,7 @@ macro_rules! arg_enum { $($v),+ } - impl std::str::FromStr for $e { + impl ::std::str::FromStr for $e { type Err = String; fn from_str(s: &str) -> Result {