all: address clippy lints
This commit is contained in:
parent
0e49b33a7f
commit
669d995771
7 changed files with 10 additions and 31 deletions
|
|
@ -234,18 +234,13 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Debug, Default)]
|
||||
enum BuilderOp {
|
||||
#[default]
|
||||
Add,
|
||||
Sub,
|
||||
}
|
||||
|
||||
impl Default for BuilderOp {
|
||||
fn default() -> Self {
|
||||
Self::Add
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct RegionBuilder {
|
||||
base: Rc<Region>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue