aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-15 19:05:22 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-15 19:05:22 -0700
commitc4d9e5c0b4f867a00e4a1042d59549fcdb11a074 (patch)
tree0b25c9893a424af06264a9026a7df0ffbf0a8af5
parent98a5e0e24400cd5a360c5a24e7bb88a66d2d42ee (diff)
downloadmilf-rs-c4d9e5c0b4f867a00e4a1042d59549fcdb11a074.tar.gz
milf-rs-c4d9e5c0b4f867a00e4a1042d59549fcdb11a074.zip
Fix doc tests
-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 {