Skip to content

Commit

Permalink
Merge pull request #328 from jost-s/docs/update-deserialize-example-t…
Browse files Browse the repository at this point in the history
…o-use-from-slice
  • Loading branch information
kornelski committed May 5, 2023
2 parents 941441f + b25b588 commit f4ad0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmp-serde/src/lib.rs
Expand Up @@ -12,7 +12,7 @@
//! buf
//! );
//!
//! assert_eq!((42, "the Answer"), rmp_serde::from_read_ref(&buf).unwrap());
//! assert_eq!((42, "the Answer"), rmp_serde::from_slice(&buf).unwrap());
//! ```
//!
//! # Type-based Serialization and Deserialization
Expand Down

0 comments on commit f4ad0d0

Please sign in to comment.