1
0
Fork 0
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:
Koalab99 2020-08-27 19:51:19 +02:00 committed by GitHub
commit ee7cdc66b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 25 deletions
exercises/enums

View file

@ -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. Rusts 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