[][src]Crate assert_not_modified

Macro which, given a variable and a block of code, executes the block of code and checks that the variable has not changed.

For instance, this can check that a function does not have side-effects.

Macros

assert_not_modified

Given a variable and a block of code, executes the block of code and checks that the variable has not changed.