reference: follow idiom in this tiny snippet
This commit is contained in:
parent
ea5cc76aac
commit
8d331ba8c3
@ -1199,8 +1199,8 @@ An example of an `enum` item and its use:
|
||||
|
||||
```
|
||||
enum Animal {
|
||||
Dog,
|
||||
Cat
|
||||
Dog,
|
||||
Cat,
|
||||
}
|
||||
|
||||
let mut a: Animal = Animal::Dog;
|
||||
|
Loading…
x
Reference in New Issue
Block a user