mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 22:02:22 -05:00
Merge pull request #1682 from OfirLauber/main
chore: fix comment in enums3.rs
This commit is contained in:
commit
1552822404
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