Rust syntax: Difference between revisions

Content deleted Content added
No edit summary
Line 213:
 
<syntaxhighlight lang="rust">
(1..=100).filter(|&x: i8| -> bool x % 3 == 0).sum()
</syntaxhighlight>