|
@@ -23,7 +23,7 @@ impl<'de, const N: usize> Visitor<'de> for ArrayVisitor<N> {
|
|
|
type Value = [u8; N];
|
|
type Value = [u8; N];
|
|
|
|
|
|
|
|
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
|
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
|
|
- write!(formatter, "an array of length {}", N)
|
|
|
|
|
|
|
+ write!(formatter, "an array of length {N}")
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
fn visit_seq<A>(self, mut seq: A) -> Result<Self::Value, A::Error>
|
|
fn visit_seq<A>(self, mut seq: A) -> Result<Self::Value, A::Error>
|