We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 646bd98 commit 759c971Copy full SHA for 759c971
src/external/arbitrary_support.rs
@@ -12,7 +12,7 @@ impl Arbitrary<'_> for Uuid {
12
Ok(Builder::from_random_bytes(b).into_uuid())
13
}
14
15
- fn size_hint(depth: usize) -> (usize, Option<usize>) {
+ fn size_hint(_: usize) -> (usize, Option<usize>) {
16
(16, Some(16))
17
18
src/timestamp.rs
@@ -428,10 +428,11 @@ mod tests {
428
use super::*;
429
430
#[test]
431
- fn rfc4122_unix_wraps() {
+ fn rfc4122_unix_does_not_panic() {
432
// Ensure timestamp conversions never panic
433
Timestamp::unix_to_rfc4122_ticks(u64::MAX, 0);
434
Timestamp::unix_to_rfc4122_ticks(0, u32::MAX);
435
+ Timestamp::unix_to_rfc4122_ticks(u64::MAX, u32::MAX);
436
437
Timestamp::rfc4122_to_unix(u64::MAX);
438
0 commit comments