Skip to content

Commit b2da446

Browse files
committed
chore: fix clippy warnings
1 parent a5945a7 commit b2da446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,13 @@ macro_rules! rng_integer {
260260
};
261261

262262
let low = match range.start_bound() {
263-
Bound::Unbounded => core::$t::MIN,
263+
Bound::Unbounded => $t::MIN,
264264
Bound::Included(&x) => x,
265265
Bound::Excluded(&x) => x.checked_add(1).unwrap_or_else(panic_empty_range),
266266
};
267267

268268
let high = match range.end_bound() {
269-
Bound::Unbounded => core::$t::MAX,
269+
Bound::Unbounded => $t::MAX,
270270
Bound::Included(&x) => x,
271271
Bound::Excluded(&x) => x.checked_sub(1).unwrap_or_else(panic_empty_range),
272272
};
@@ -275,7 +275,7 @@ macro_rules! rng_integer {
275275
panic_empty_range();
276276
}
277277

278-
if low == core::$t::MIN && high == core::$t::MAX {
278+
if low == $t::MIN && high == $t::MAX {
279279
self.$gen() as $t
280280
} else {
281281
let len = high.wrapping_sub(low).wrapping_add(1);

0 commit comments

Comments
 (0)