We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any_where
1 parent fea4641 commit 1de134bCopy full SHA for 1de134b
library/kani/src/lib.rs
@@ -119,10 +119,10 @@ pub fn any<T: Arbitrary>() -> T {
119
/// # Example:
120
///
121
/// In the snippet below, we are verifying the behavior of the function `fn_under_verification`
122
-/// under all possible `NonZeroU8` input values between 0 and 12.
+/// under all possible `u8` input values between 0 and 12.
123
124
/// ```rust
125
-/// let inputA = kani::any_where::<std::num::NonZeroU8>(|x| *x < 12);
+/// let inputA: u8 = kani::any_where(|x| *x < 12);
126
/// fn_under_verification(inputA);
127
/// ```
128
0 commit comments