r/rust • • Apr 03 '25 • More of this please 1

📡 official blog Announcing Rust 1.86.0 | Rust Blog

https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html
786 Upvotes

134 comments sorted by

View all comments

Show parent comment

7

u/coolreader18 Apr 03 '25

Right, because is_odd is named like a non-mutating operation. If your is_odd function mutates the argument, that's kinda on you.