@@ -15,21 +15,17 @@ As a multi-paradigm language, Rust supports writing code in
15
15
procedural, functional and object-oriented styles. Some of its
16
16
pleasant high-level features include:
17
17
18
- * ** Pattern matching and algebraic data types (enums).** As
19
- popularized by functional languages, pattern matching on ADTs
20
- provides a compact and expressive way to encode program logic.
21
- * ** Type inference.** Type annotations on local variable
22
- declarations are optional.
23
- * ** Task-based concurrency.** Rust uses lightweight tasks that do
24
- not share memory.
25
- * ** Higher-order functions.** Rust's efficient and flexible closures
26
- are heavily relied on to provide iteration and other control
27
- structures
28
- * ** Parametric polymorphism (generics).** Functions and types can be
29
- parameterized over type variables with optional trait-based type
30
- constraints.
31
- * ** Trait polymorphism.** Rust's type system features a unique
32
- combination of type classes and object-oriented interfaces.
18
+ * ** Type inference.** Type annotations on local variable declarations
19
+ are optional.
20
+ * ** Safe task-based concurrency.** Rust's lightweight tasks do not share
21
+ memory and communicate through messages.
22
+ * ** Higher-order functions.** Efficient and flexible closures provide
23
+ iteration and other control structures
24
+ * ** Pattern matching and algebraic data types.** Pattern matching on
25
+ Rust's enums is a compact and expressive way to encode program
26
+ logic.
27
+ * ** Polymorphism.** Rust has type-parameric functions and
28
+ types, type classes and OO-style interfaces.
33
29
34
30
## Scope
35
31
0 commit comments