This commit is contained in:
sxyazi 2025-03-20 18:57:42 +08:00
parent 9c075a825f
commit e6c7890b15
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ impl Id {
#[inline] #[inline]
pub const fn get(&self) -> u64 { self.0 } pub const fn get(&self) -> u64 { self.0 }
pub fn unique() -> Self { Id(crate::timestamp_us()) } pub fn unique() -> Self { Self(crate::timestamp_us()) }
} }
impl Display for Id { impl Display for Id {