From d6a66da3bf91063d81c7761cf42a2a407461aefa Mon Sep 17 00:00:00 2001 From: Roderick van Domburg Date: Sat, 30 Nov 2024 00:37:42 +0100 Subject: [PATCH] style: fix code formatting --- src/uuid.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uuid.rs b/src/uuid.rs index 6441cd9..693b14e 100644 --- a/src/uuid.rs +++ b/src/uuid.rs @@ -65,7 +65,8 @@ impl Uuid { /// let uuid = Uuid::fast_v4(); /// println!("{}", uuid); // Prints a UUID like "550e8400-e29b-41d4-a716-446655440000" /// ``` - #[must_use] pub fn fast_v4() -> Self { + #[must_use] + pub fn fast_v4() -> Self { let random_bytes = fastrand::u128(..).to_ne_bytes(); let uuid = uuid::Builder::from_random_bytes(random_bytes).into_uuid(); Self(uuid)