diff options
Diffstat (limited to 'src/utils.rs')
-rw-r--r-- | src/utils.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/utils.rs b/src/utils.rs index 23fff7e..c53e564 100644 --- a/src/utils.rs +++ b/src/utils.rs | |||
@@ -1,7 +1,6 @@ | |||
1 | |||
2 | pub trait FromStaticStr { | 1 | pub trait FromStaticStr { |
3 | type Err; | 2 | type Err; |
4 | fn from_str(s: &'static str) -> Result<Self, Self::Err> | 3 | fn from_str(s: &'static str) -> Result<Self, Self::Err> |
5 | where Self: Sized; | 4 | where |
5 | Self: Sized; | ||
6 | } | 6 | } |
7 | |||