Skip to content

Commit

Permalink
Merge pull request #691 from uuid-rs/fix/timestamp-gen
Browse files Browse the repository at this point in the history
Fix some timestamp generation
  • Loading branch information
KodrAus authored Jun 27, 2023
2 parents 952f75f + 0cb9232 commit cb2aac0
Show file tree
Hide file tree
Showing 12 changed files with 566 additions and 77 deletions.
2 changes: 1 addition & 1 deletion src/external/arbitrary_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ impl Arbitrary<'_> for Uuid {
Ok(Builder::from_random_bytes(b).into_uuid())
}

fn size_hint(depth: usize) -> (usize, Option<usize>) {
fn size_hint(_: usize) -> (usize, Option<usize>) {
(16, Some(16))
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/external/borsh_support.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#[cfg(test)]
mod borsh_tests {
use crate::Uuid;
use std::string::ToString;
use borsh::{BorshDeserialize, BorshSerialize};
use std::string::ToString;

#[test]
fn test_serialize() {
Expand Down
Loading

0 comments on commit cb2aac0

Please sign in to comment.