mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 07:14:17 -05:00
chore: fix comment in enums3.rs
This commit is contained in:
parent
9a743f80c5
commit
83ac243c00
1 changed files with 3 additions and 4 deletions
|
@ -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