Fix "deserialize" -> "deserialize_any" in Deserializer documentation

This commit is contained in:
Benedikt Werner 2022-09-23 08:29:25 +02:00 committed by GitHub
parent 8c036ee5a3
commit b2676348eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -862,7 +862,7 @@ where
/// The `Deserializer` trait supports two entry point styles which enables
/// different kinds of deserialization.
///
/// 1. The `deserialize` method. Self-describing data formats like JSON are able
/// 1. The `deserialize_any` method. Self-describing data formats like JSON are able
/// to look at the serialized data and tell what it represents. For example
/// the JSON deserializer may see an opening curly brace (`{`) and know that
/// it is seeing a map. If the data format supports