Skip to content

Commit a82caa0

Browse files
authored
Update stubbing.md with the right command (rust-lang#2460)
1 parent ef1358d commit a82caa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/reference/stubbing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Note that this is a fair assumption to do: `rand::random` is expected to return
8383
Now, let's run it through Kani:
8484

8585
```bash
86-
cargo kani --enable-unstable --enable-stubbing --harness random_cannot_be_zero
86+
cargo kani --enable-unstable --enable-stubbing --harness encrypt_then_decrypt_is_identity
8787
```
8888

8989
The verification result is composed of a single check: the assertion corresponding to `assert_eq!(data, decrypted_data)`.

0 commit comments

Comments
 (0)