From 1cf9a0eb56dcd8f129fa5641520a3f726d06e057 Mon Sep 17 00:00:00 2001 From: Ty Overby Date: Fri, 13 Oct 2017 17:48:55 -0700 Subject: [PATCH] fix doc comment for deserializing function --- src/de/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/mod.rs b/src/de/mod.rs index 1f1427b..3c6c1c7 100644 --- a/src/de/mod.rs +++ b/src/de/mod.rs @@ -14,7 +14,7 @@ pub mod read; /// A Deserializer that reads bytes from a buffer. /// /// This struct should rarely be used. -/// In most cases, prefer the `decode_from` function. +/// In most cases, prefer the `deserialize_from` function. /// /// The ByteOrder that is chosen will impact the endianness that /// is used to read integers out of the reader.