diff options
author | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-04 04:26:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 04:26:14 -0700 |
commit | 4d59048f0df8441e5ad2c2c440e8d54b0e9c11b6 (patch) | |
tree | fa2dbdd40da35b3c27f928f1112ea43193a7482e /pt-br/rust-pt.html.markdown | |
parent | b38d4437120e700646a45dff68b7c4ff3f7109c0 (diff) | |
parent | 327001f58739489b41f6b1f7bbc8be900847b381 (diff) |
Merge branch 'master' into patch-2
Diffstat (limited to 'pt-br/rust-pt.html.markdown')
-rw-r--r-- | pt-br/rust-pt.html.markdown | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pt-br/rust-pt.html.markdown b/pt-br/rust-pt.html.markdown index b2bab214..1080baa4 100644 --- a/pt-br/rust-pt.html.markdown +++ b/pt-br/rust-pt.html.markdown @@ -1,5 +1,5 @@ --- -language: rust +language: Rust filename: rust-pt.rs contributors: - ["Paulo Henrique Rodrigues Pinheiro", "https://about.me/paulohrpinheiro"] @@ -234,7 +234,7 @@ fn main() { // `for` laços de repetição/iteração let array = [1, 2, 3]; - for i in array.iter() { + for i in array { println!("{}", i); } @@ -329,4 +329,3 @@ mais na página oficial [Rust website](http://rust-lang.org). No Brasil acompanhe os encontros do [Meetup Rust São Paulo] (http://www.meetup.com/pt-BR/Rust-Sao-Paulo-Meetup/). - |