correct style failures

This commit is contained in:
Mark Thom
2023-11-11 18:41:46 +01:00
parent 83b9c6184c
commit 50c64b8512
4 changed files with 26 additions and 52 deletions

View File

@@ -327,8 +327,9 @@ impl DoubleQuotes {
}
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, Default)]
pub enum Unknown {
#[default]
Error,
Fail,
Warn,
@@ -348,13 +349,6 @@ impl Unknown {
}
}
impl Default for Unknown {
#[inline]
fn default() -> Self {
Unknown::Error
}
}
pub fn default_op_dir() -> OpDir {
let mut op_dir = OpDir::with_hasher(FxBuildHasher::default());