diff options
-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 4397294..a344278 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -29,7 +29,7 @@ use {Value, Table, Array, String, Integer, Float, Boolean, Parser}; /// let mut e = Encoder::new(); /// my_struct.encode(&mut e).unwrap(); /// -/// assert_eq!(e.toml.find_equiv(&"foo"), Some(&Integer(4))) +/// assert_eq!(e.toml.find(&"foo".to_string()), Some(&Integer(4))) /// # } /// ``` pub struct Encoder { |