mirror of
https://github.com/notohh/rustlings.git
synced 2025-10-03 01:28:39 -04:00
chore: Removed extra whitespaces
Co-authored-by: Corentin ARNOULD <corentin.arn@gmail.com>
This commit is contained in:
parent
9699da4968
commit
ee7cdc66b3
7 changed files with 25 additions and 25 deletions
exercises/enums
|
@ -1,8 +1,8 @@
|
|||
### Enums
|
||||
|
||||
Rust allows you to define types called "enums" which enumerate possible values.
|
||||
Rust allows you to define types called "enums" which enumerate possible values.
|
||||
Enums are a feature in many languages, but their capabilities differ in each language. Rust’s enums are most similar to algebraic data types in functional languages, such as F#, OCaml, and Haskell.
|
||||
Useful in combination with enums is Rust's "pattern matching" facility, which makes it easy to run different code for different values of an enumeration.
|
||||
Useful in combination with enums is Rust's "pattern matching" facility, which makes it easy to run different code for different values of an enumeration.
|
||||
|
||||
#### Book Sections
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue