Skip to content

Commit d9dc7f9

Browse files
committed
chore: fmtfix again
1 parent 7c809fc commit d9dc7f9

File tree

1 file changed

+4
-2
lines changed
  • rust/catalyst-types/src/uuid

1 file changed

+4
-2
lines changed

rust/catalyst-types/src/uuid/v4.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ impl UuidV4 {
1616
const UUID_VERSION_NUMBER: usize = 4;
1717

1818
/// Generates a zeroed out `UUIDv4` that can never be valid.
19-
#[must_use] pub fn invalid() -> Self {
19+
#[must_use]
20+
pub fn invalid() -> Self {
2021
Self { uuid: INVALID_UUID }
2122
}
2223

2324
/// Check if this is a valid `UUIDv4`.
24-
#[must_use] pub fn is_valid(&self) -> bool {
25+
#[must_use]
26+
pub fn is_valid(&self) -> bool {
2527
self.uuid != INVALID_UUID && self.uuid.get_version_num() == Self::UUID_VERSION_NUMBER
2628
}
2729

0 commit comments

Comments
 (0)