Skip to content

Commit a708f07

Browse files
authored
Be forward compatible with rust-lang/rust#59928
1 parent 5f67125 commit a708f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl fmt::Display for Code {
185185
impl TryFrom<u8> for Code {
186186
type Error = error::Error;
187187

188-
fn try_from(i: u8) -> Result<Self, Self::Error> {
188+
fn try_from(i: u8) -> Result<Self, error::Error> {
189189
match i {
190190
0 => Ok(Code::Req),
191191
1 => Ok(Code::Ok),

0 commit comments

Comments
 (0)