Skip to content

Commit c2a3e28

Browse files
authored
Merge pull request #1 from Centril/patch-1
Be forward compatible with rust-lang/rust#59928
2 parents 5f67125 + a708f07 commit c2a3e28

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)