fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
This commit is contained in:
parent
da7f1d6c45
commit
fb726197ea
28 changed files with 109 additions and 90 deletions
|
|
@ -1432,8 +1432,7 @@ mod tests {
|
|||
fn tmproot(tag: &str) -> std::path::PathBuf {
|
||||
let ts = std::time::SystemTime::now()
|
||||
.duration_since(std::time::UNIX_EPOCH)
|
||||
.map(|d| d.as_nanos())
|
||||
.unwrap_or(0);
|
||||
.map_or(0, |d| d.as_nanos());
|
||||
let p = std::env::temp_dir().join(format!("hyperhive-test-{tag}-{ts}"));
|
||||
std::fs::create_dir_all(&p).unwrap();
|
||||
p
|
||||
|
|
|
|||
Loading…
Reference in a new issue