diff options
author | Alex Crichton <alex@alexcrichton.com> | 2014-11-08 09:59:00 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-08 09:59:00 -0800 |
commit | 796a127adf15e074f6483da5885dbf26535755b9 (patch) | |
tree | 3979f3e588b1f2b48e052611be593c0ed80424ac | |
parent | ac6f3b27e03e7a5938fd4cae5fc3fecc5ab1a85f (diff) | |
download | milf-rs-796a127adf15e074f6483da5885dbf26535755b9.tar.gz milf-rs-796a127adf15e074f6483da5885dbf26535755b9.zip |
Fix a deprecation in the documentation
-rw-r--r-- | src/serialization.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization.rs b/src/serialization.rs index fda7c06..91f7924 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -30,7 +30,7 @@ use {Value, Table, Array, Integer, Float, Boolean, Parser, TomlTable}; /// let mut e = Encoder::new(); /// my_struct.encode(&mut e).unwrap(); /// -/// assert_eq!(e.toml.find(&"foo".to_string()), Some(&Integer(4))) +/// assert_eq!(e.toml.get(&"foo".to_string()), Some(&Integer(4))) /// # } /// ``` pub struct Encoder { |