gh-pages
Dhghomon 2 years ago
parent 4edb141cdf
commit 53c9505baf

@ -157,7 +157,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

@ -2463,7 +2463,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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save