The input contains an array, but just validate it, don't deserialize.
(self, vec: A)
| 610 | |
| 611 | /// The input contains an array, but just validate it, don't deserialize. |
| 612 | fn validate<A: ArrayAccess<'de, Element = T>>(self, vec: A) -> Result<(), A::Error> { |
| 613 | let _ = self.visit(vec)?; |
| 614 | Ok(()) |
| 615 | } |
| 616 | } |
| 617 | |
| 618 | /// Provides an [`ArrayVisitor`] with access to each element of the array in the input. |