Fix cargo-derivefmt lints

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/473/head
Manos Pitsidianakis 2 months ago
parent 86e25bc017
commit 41e1fdd554
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

@ -27,7 +27,7 @@ const fn lf_val() -> u8 {
b'\n'
}
#[derive(Debug, Clone)]
#[derive(Clone, Debug)]
pub enum RegexValue {
Default {
pattern: regex::Regex,
@ -72,7 +72,7 @@ impl RegexValue {
}
}
#[derive(Clone, Copy, Serialize, Deserialize, Debug)]
#[derive(Clone, Copy, Debug, Deserialize, Serialize)]
pub struct RegexOptions {
#[serde(default = "crate::conf::true_val")]
unicode: bool,

@ -104,7 +104,7 @@ pub const BRACKET_PASTE_END: &[u8] = b"\x1B[201~";
/// }
/// }
/// ```
#[derive(Copy, Clone)]
#[derive(Clone, Copy)]
pub struct Hyperlink<
'a,
'b,

@ -370,7 +370,7 @@ impl std::fmt::Display for Error {
}
}
#[derive(Copy, Clone)]
#[derive(Clone, Copy)]
struct ErrorChainDisplay<'e> {
current: &'e Error,
counter: usize,

Loading…
Cancel
Save