We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca67457 commit df0f29dCopy full SHA for df0f29d
src/lib.rs
@@ -16,7 +16,7 @@
16
//!
17
//! // Serialized JSON data can be easily deserialized into Rust types.
18
//! let message = b"{\"value\":10,\"message\":\"Hello, World!\"}";
19
-//! let (data, _remainder) = serde_json_core::from_slice::<Data<'_>>(message).unwrap();
+//! let (data, _consumed) = serde_json_core::from_slice::<Data<'_>>(message).unwrap();
20
//! assert_eq!(data.value, 10);
21
//! assert_eq!(data.message, "Hello, World!");
22
0 commit comments