Skip to content

Commit 38d9038

Browse files
Update constraint.rs
1 parent 3e43563 commit 38d9038

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/intrinsic-test/src/common/constraint.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
use serde::Deserialize;
22
use std::ops::Range;
33

4+
/// Describes the values to test for a const generic parameter.
45
#[derive(Debug, PartialEq, Clone, Deserialize)]
56
pub enum Constraint {
7+
/// Test a single value.
68
Equal(i64),
9+
/// Test a range of values, e.g. `0..16`.
710
Range(Range<i64>),
811
}
912

0 commit comments

Comments
 (0)