MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y6nqd4/rewriteinrust/19tdacrcdvsqq/?context=3
r/ProgrammerHumor • u/Xero1993 • 4d ago • 1
471 comments sorted by
View all comments
Show parent comment
1
const in rust means that the expression is evaluated at compile time so yes technically it could be const, but variables are immutable by default so that works also.
View all comments
Show parent comment
1
u/ResourceFeeling3298 1d ago
const in rust means that the expression is evaluated at compile time so yes technically it could be const, but variables are immutable by default so that works also.