aboutsummaryrefslogtreecommitdiff
path: root/src/de.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-19 17:10:40 -0700
committerJoel Galenson <jgalenson@google.com>2021-05-19 17:10:40 -0700
commit308069c5374db331b47e645d2b0c97f19bc7caad (patch)
tree2d40aeccbf398a4c84a3ee38303459327f8d0427 /src/de.rs
parentd015e3b2531f9a3fcf4f46d82d9525c56a52186b (diff)
downloadserde_json-308069c5374db331b47e645d2b0c97f19bc7caad.tar.gz
Upgrade rust/crates/serde_json to 1.0.64
Test: make Change-Id: I058d09e243a200353f09f6fcb22a185b9c10df75
Diffstat (limited to 'src/de.rs')
-rw-r--r--src/de.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de.rs b/src/de.rs
index 4abe7ef..15c8236 100644
--- a/src/de.rs
+++ b/src/de.rs
@@ -41,7 +41,7 @@ where
/// Typically it is more convenient to use one of these methods instead:
///
/// - Deserializer::from_str
- /// - Deserializer::from_bytes
+ /// - Deserializer::from_slice
/// - Deserializer::from_reader
pub fn new(read: R) -> Self {
Deserializer {
@@ -2250,7 +2250,7 @@ where
/// Typically it is more convenient to use one of these methods instead:
///
/// - Deserializer::from_str(...).into_iter()
- /// - Deserializer::from_bytes(...).into_iter()
+ /// - Deserializer::from_slice(...).into_iter()
/// - Deserializer::from_reader(...).into_iter()
pub fn new(read: R) -> Self {
let offset = read.byte_offset();