Skip to content

Commit 539f169

Browse files
committed
clippy
1 parent bab93f2 commit 539f169

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/convert/convert_cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::io::{Read, Write};
33
use std::str::FromStr;
44
use std::{fs::File, path::Path};
55

6-
#[derive(Clone, Copy, Debug, PartialEq)]
6+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
77
#[non_exhaustive]
88
pub enum InputFormat {
99
Xml,
@@ -23,7 +23,7 @@ impl FromStr for InputFormat {
2323
}
2424
}
2525

26-
#[derive(Clone, Copy, Debug, PartialEq)]
26+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
2727
#[non_exhaustive]
2828
pub enum OutputFormat {
2929
Xml,

src/interrupts/svd_reader.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ struct PeripheralXml {
1919
interrupt: Option<Vec<Interrupt>>,
2020
}
2121

22-
#[derive(Deserialize, Debug, PartialEq)]
22+
#[derive(Deserialize, Debug, PartialEq, Eq)]
2323
pub struct Interrupt {
2424
pub name: String,
2525
pub description: Option<String>,
2626
pub value: u32,
2727
}
2828

29-
#[derive(Debug, PartialEq)]
29+
#[derive(Debug, PartialEq, Eq)]
3030
pub struct Peripheral {
3131
pub name: String,
3232
pub interrupt: Vec<Interrupt>,

0 commit comments

Comments
 (0)