From ae9b9cbf60012e27b714be82cce8a7c5f9387d02 Mon Sep 17 00:00:00 2001 From: Nikita Tolkachev Date: Mon, 31 Aug 2020 16:01:40 +0300 Subject: [PATCH] declarative -> imperative "non-functional style" can be declarative, but the given example is clearly imperative. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b2ac2a..ac302fa 100644 --- a/README.md +++ b/README.md @@ -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() {