Update RELEASES.md
Co-Authored-By: Aaronepower <Aaronepower@users.noreply.github.com>
This commit is contained in:
parent
6c71e7d3f7
commit
fb3ae5738a
|
@ -15,7 +15,7 @@ Language
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let state = Creature::Crab("Ferrous");
|
let state = Creature::Crab("Ferris");
|
||||||
|
|
||||||
if let Creature::Crab(name) | Creature::Person(name) = state {
|
if let Creature::Crab(name) | Creature::Person(name) = state {
|
||||||
println!("This creature's name is: {}", name);
|
println!("This creature's name is: {}", name);
|
||||||
|
|
Loading…
Reference in New Issue