From 9552f2a1fee55280b3bdda18624058aa14c1a369 Mon Sep 17 00:00:00 2001 From: Ay355 <77558710+Ay-355@users.noreply.github.com> Date: Mon, 1 Nov 2021 14:27:42 -0700 Subject: [rust/all] Remove .iter() on array example (#4230) As of Rust 1.53.0, arrays implement the IntoIterator trait, making .iter() on an array unnecessary --- de-de/rust-de.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'de-de/rust-de.html.markdown') diff --git a/de-de/rust-de.html.markdown b/de-de/rust-de.html.markdown index faa4ec2b..02bb460a 100644 --- a/de-de/rust-de.html.markdown +++ b/de-de/rust-de.html.markdown @@ -255,7 +255,7 @@ fn main() { // `for` Schleife/Iterationen let array = [1, 2, 3]; - for i in array.iter() { + for i in array { println!("{}", i); } -- cgit v1.2.3 From 6dc1f37df12f9071613e4028afa641807fff2139 Mon Sep 17 00:00:00 2001 From: Mathias Schmitt Date: Wed, 6 Jul 2022 22:31:18 +0200 Subject: [rust/de] fix german translation. --- de-de/rust-de.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'de-de/rust-de.html.markdown') diff --git a/de-de/rust-de.html.markdown b/de-de/rust-de.html.markdown index 02bb460a..6208db68 100644 --- a/de-de/rust-de.html.markdown +++ b/de-de/rust-de.html.markdown @@ -1,5 +1,5 @@ --- -language: rust +language: Rust contributors: - ["P1start", "http://p1start.github.io/"] translators: -- cgit v1.2.3