|
1 | 1 | #[allow(dead_code, path_statements, clippy::no_effect)]
|
2 |
| -pub(crate) const fn smaller_than<const N: usize, const MAX: usize>() { |
| 2 | +pub const fn smaller_than<const N: usize, const MAX: usize>() { |
3 | 3 | Assert::<N, MAX>::LESS;
|
4 | 4 | }
|
5 | 5 |
|
6 | 6 | #[allow(dead_code, path_statements, clippy::no_effect)]
|
7 |
| -pub(crate) const fn greater_than_eq<const N: usize, const MIN: usize>() { |
| 7 | +pub const fn greater_than_eq<const N: usize, const MIN: usize>() { |
8 | 8 | Assert::<N, MIN>::GREATER_EQ;
|
9 | 9 | }
|
10 | 10 |
|
11 | 11 | #[allow(dead_code, path_statements, clippy::no_effect)]
|
12 |
| -pub(crate) const fn greater_than_eq_0<const N: usize>() { |
| 12 | +pub const fn greater_than_eq_0<const N: usize>() { |
13 | 13 | Assert::<N, 0>::GREATER_EQ;
|
14 | 14 | }
|
15 | 15 |
|
16 | 16 | #[allow(dead_code, path_statements, clippy::no_effect)]
|
17 |
| -pub(crate) const fn greater_than_0<const N: usize>() { |
| 17 | +pub const fn greater_than_0<const N: usize>() { |
18 | 18 | Assert::<N, 0>::GREATER;
|
19 | 19 | }
|
20 | 20 |
|
21 | 21 | #[allow(dead_code, path_statements, clippy::no_effect)]
|
22 |
| -pub(crate) const fn greater_than_1<const N: usize>() { |
| 22 | +pub const fn greater_than_1<const N: usize>() { |
23 | 23 | Assert::<N, 1>::GREATER;
|
24 | 24 | }
|
25 | 25 |
|
26 | 26 | #[allow(dead_code, path_statements, clippy::no_effect)]
|
27 |
| -pub(crate) const fn power_of_two<const N: usize>() { |
| 27 | +pub const fn power_of_two<const N: usize>() { |
28 | 28 | Assert::<N, 0>::GREATER;
|
29 | 29 | Assert::<N, 0>::POWER_OF_TWO;
|
30 | 30 | }
|
|
0 commit comments