()
| 427 | } |
| 428 | |
| 429 | fn uuid_short() -> String { |
| 430 | use std::time::{SystemTime, UNIX_EPOCH}; |
| 431 | let now = SystemTime::now() |
| 432 | .duration_since(UNIX_EPOCH) |
| 433 | .unwrap_or_default() |
| 434 | .as_millis(); |
| 435 | format!("{:08x}", (now & 0xFFFF_FFFF) as u32) |
| 436 | } |
| 437 | |
| 438 | // Tests |
| 439 |
nothing calls this directly
no outgoing calls
no test coverage detected