Rust Book says: “Rust’s design has taken inspiration from many existing languages and techniques, and one significant influence is functional programming”.This section reviews if Rust adheres to basic functional programming principles.