Merge pull request #68 from n7olkachev/patch-1

declarative -> imperative
This commit is contained in:
Dhghomon 2020-08-31 23:51:44 +09:00 committed by GitHub
commit f98e2b8693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5543,7 +5543,7 @@ fn main() {
## Chaining methods
Rust is a systems programming language like C and C++, but it also has a functional style. Both styles are okay, but functional style is usually shorter. Here is an example of the non-functional style (called "declarative style") to make a `Vec` from 1 to 10:
Rust is a systems programming language like C and C++, but it also has a functional style. Both styles are okay, but functional style is usually shorter. Here is an example of the non-functional style (called "imperative style") to make a `Vec` from 1 to 10:
```rust
fn main() {