mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
chore: fix comment in enums3.rs
This commit is contained in:
parent
9a743f80c5
commit
83ac243c00
|
@ -41,10 +41,9 @@ impl State {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn process(&mut self, message: Message) {
|
fn process(&mut self, message: Message) {
|
||||||
// TODO: create a match expression to process the different message
|
// TODO: create a match expression to process the different message variants
|
||||||
// variants
|
// Remember: When passing a tuple as a function argument, you'll need extra parentheses:
|
||||||
// Remember: When passing a tuple as a function argument, you'll need
|
// fn function((t, u, p, l, e))
|
||||||
// extra parentheses: fn function((t, u, p, l, e))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue