diff options
Diffstat (limited to 'src/utils/error.rs')
-rw-r--r-- | src/utils/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/error.rs b/src/utils/error.rs index bf6a5b38..74fdbe69 100644 --- a/src/utils/error.rs +++ b/src/utils/error.rs @@ -48,8 +48,8 @@ impl From<std::num::ParseIntError> for BottomError { } } -impl From<std::string::String> for BottomError { - fn from(err: std::string::String) -> Self { +impl From<String> for BottomError { + fn from(err: String) -> Self { BottomError::GenericError(err) } } |