diff --git a/src/error.rs b/src/error.rs index 1b13d427..e88f48ca 100644 --- a/src/error.rs +++ b/src/error.rs @@ -132,7 +132,7 @@ pub trait ResultExt { impl ResultExt for Result { type Ok = T; - fn err_tag(self, msg: S) -> Result + fn err_tag(self, msg: S) -> Result where S: Into> { match self { Ok(v) => Ok(v),