We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614e60e commit ae16a6fCopy full SHA for ae16a6f
src/error.rs
@@ -132,7 +132,7 @@ pub trait ResultExt {
132
impl<T> ResultExt for Result<T> {
133
type Ok = T;
134
135
- fn err_tag<S>(self, msg: S) -> Result<Self::Ok>
+ fn err_tag<S>(self, msg: S) -> Result<T>
136
where S: Into<Cow<'static, str>> {
137
match self {
138
Ok(v) => Ok(v),
0 commit comments