Unverified Commit e456502f authored by André Silva's avatar André Silva Committed by GitHub
Browse files

fix typo in error message (#225)

parent 6f8f5422
Pipeline #109697 passed with stages
in 17 minutes and 36 seconds
......@@ -558,7 +558,7 @@ impl<T: Decode> Decode for Option<T> {
match input.read_byte()? {
0 => Ok(None),
1 => Ok(Some(T::decode(input)?)),
_ => Err("unexpecded first byte decoding Option".into()),
_ => Err("unexpected first byte decoding Option".into()),
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment