_ -> false

This commit is contained in:
Mr-Andersen 2019-09-25 20:14:52 +03:00
parent fc4dc06360
commit 7493a448a6

View file

@ -34,7 +34,7 @@ impl<'de> Visitor<'de> for TrueVisitor {
{
match value {
true => Ok(True),
_ => Err(E::custom("expected `true`, found `false`"))
false => Err(E::custom("expected `true`, found `false`"))
}
}
}