diff options
| -rw-r--r-- | rust.html.markdown | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rust.html.markdown b/rust.html.markdown index 83682c01..e835de12 100644 --- a/rust.html.markdown +++ b/rust.html.markdown @@ -188,7 +188,7 @@ fn main() {      }      let a_foo = Foo { bar: 1 }; -    println!("{}", a_foo.get_bar()); // 1 +    println!("{}", a_foo.bar()); // 1      // Traits (known as interfaces or typeclasses in other languages) // | 
