pull/142/head
Dominik Wilkowski 3 years ago committed by GitHub
parent 2630af2a7e
commit aaa6c5a8ff
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