Merge pull request #142 from dominikwilkowski/patch-1

Tiny nit
pull/144/head
Dhghomon 2 years ago committed by GitHub
commit 7d2643960f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3022,7 +3022,7 @@ enum AnimalType {
impl Animal {
fn new() -> Self {
// Self means Animal.
//You can also write Animal instead of Self
// You can also write Animal instead of Self
Self {
// When we write Animal::new(), we always get a cat that is 10 years old

Loading…
Cancel
Save