Skip to content
Discussion options

You must be logged in to vote

Verus takes advantage of Rust's type system, so that there is no need for a modifies clause. If a function takes in a mutable reference, then it can modify the value; if it takes in an immutable reference, then the code can't modify it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaybosamiya-ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1468 on February 24, 2025 12:53.