[][src]Crate assert_not_modified

Rust wrapper function which checks that the given closure does not modify input data. This is helpful when checking that a function which returns Err(...) does not have side-effects.

Functions

assert_not_modified

Helper function which panics if the given closure mutates the input data.