diff options
author | polazarus <polazarus@users.noreply.github.com> | 2020-02-12 21:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 21:25:39 +0100 |
commit | 602dbf5267ff15ab137bee2dbedad7f500d039a2 (patch) | |
tree | 39634421f901d3afb45c6d093f8aad6075646431 /rust.html.markdown | |
parent | 33921c9e6c30e07bbc1a6187ac364429a84d04bf (diff) |
Change call
Diffstat (limited to 'rust.html.markdown')
-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) // |