Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
schuyler3d
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
schuyler3d
11y ago
OK, fair enough, but it still seems like the rust compiler has enough information to determine whether something is a pure function. It knows whether global or enclosed variables are present and it knows if any of the methods it calls have
2.
▲
by
schuyler3d
11y ago
How would purity be different in Rust than any function signature without any &mut?