aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serialization.rs2
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 {