Change call

This commit is contained in:
polazarus 2020-02-12 21:25:39 +01:00 committed by GitHub
parent 33921c9e6c
commit 602dbf5267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) //