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.
2 parents 941441f + b25b588 commit f4ad0d0Copy full SHA for f4ad0d0
rmp-serde/src/lib.rs
@@ -12,7 +12,7 @@
12
//! buf
13
//! );
14
//!
15
-//! assert_eq!((42, "the Answer"), rmp_serde::from_read_ref(&buf).unwrap());
+//! assert_eq!((42, "the Answer"), rmp_serde::from_slice(&buf).unwrap());
16
//! ```
17
18
//! # Type-based Serialization and Deserialization
0 commit comments