Content deleted Content added
m →top: Fixed grammar - have -> has Tags: Mobile edit Mobile app edit Android app edit App full source |
|||
Line 60:
</syntaxhighlight>
[[Rust (programming language)|Rust]]
== Range as a operator ==
[[Rust (programming language)|Rust]]
<syntaxhighlight lang="rust">
let heartwarming = "heartwarming!".to_string();
Line 69:
</syntaxhighlight>
[[Zig (programming language)|Zig]] also
<syntaxhighlight lang="zig">
// To iterate over consecutive integers, use the range syntax.
|