Fix doc tests
This commit is contained in:
parent
98a5e0e244
commit
c4d9e5c0b4
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue