From b2676348eb52e2a30d5b113402d6c270622cb90d Mon Sep 17 00:00:00 2001 From: Benedikt Werner <1benediktwerner@gmail.com> Date: Fri, 23 Sep 2022 08:29:25 +0200 Subject: [PATCH] Fix "deserialize" -> "deserialize_any" in Deserializer documentation --- serde/src/de/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/de/mod.rs b/serde/src/de/mod.rs index 86a79ab8..8b63bc39 100644 --- a/serde/src/de/mod.rs +++ b/serde/src/de/mod.rs @@ -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