Skip to content

Commit ae16a6f

Browse files
authored
Be forward compatible with rust-lang/rust#59928
1 parent 614e60e commit ae16a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub trait ResultExt {
132132
impl<T> ResultExt for Result<T> {
133133
type Ok = T;
134134

135-
fn err_tag<S>(self, msg: S) -> Result<Self::Ok>
135+
fn err_tag<S>(self, msg: S) -> Result<T>
136136
where S: Into<Cow<'static, str>> {
137137
match self {
138138
Ok(v) => Ok(v),

0 commit comments

Comments
 (0)