From 796a127adf15e074f6483da5885dbf26535755b9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 8 Nov 2014 09:59:00 -0800 Subject: Fix a deprecation in the documentation --- src/serialization.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serialization.rs') 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 { -- cgit v1.2.3