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