mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
9c075a825f
commit
e6c7890b15
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue