FIX: Update serde impls for Array changes

This commit is contained in:
bluss
2019-09-01 13:09:10 +02:00
parent 7c33afb3ae
commit 470cfd2a48
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ impl<'de, A> Deserialize<'de> for ArrayString<A>
type Value = ArrayString<A>;
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
write!(formatter, "a string no more than {} bytes long", A::capacity())
write!(formatter, "a string no more than {} bytes long", A::CAPACITY)
}
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>