Skip to content

Commit

Permalink
fix clippy err
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jun 7, 2024
1 parent 4f57b2d commit aaa3f06
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,18 +388,14 @@ mod tests {

#[derive(Deserialize, Debug, PartialEq)]
#[serde(rename_all = "lowercase")]
#[derive(Default)]
pub enum Size {
Small,
#[default]
Medium,
Large,
}

impl Default for Size {
fn default() -> Size {
Size::Medium
}
}

pub fn default_kaboom() -> u16 {
8080
}
Expand Down

0 comments on commit aaa3f06

Please sign in to comment.