Skip to content

Commit 8255607

Browse files
committed
fmt
1 parent b489114 commit 8255607

File tree

5 files changed

+1
-7
lines changed

5 files changed

+1
-7
lines changed

plugins/dialog/src/models.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
66

77
/// Types of message, ask and confirm dialogs.
88
#[non_exhaustive]
9-
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
10-
#[derive(Default)]
9+
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Default)]
1110
pub enum MessageDialogKind {
1211
/// Information dialog.
1312
#[default]
@@ -18,7 +17,6 @@ pub enum MessageDialogKind {
1817
Error,
1918
}
2019

21-
2220
impl<'de> Deserialize<'de> for MessageDialogKind {
2321
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
2422
where

plugins/opener/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ enum Application {
2323
App(String),
2424
}
2525

26-
2726
/// Opener scope entry.
2827
#[derive(schemars::JsonSchema)]
2928
#[serde(untagged)]

plugins/opener/src/scope_entry.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub enum Application {
1616
App(String),
1717
}
1818

19-
2019
#[derive(Deserialize)]
2120
#[serde(untagged, rename_all = "camelCase")]
2221
pub(crate) enum EntryRaw {

plugins/shell/src/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ pub enum ShellAllowlistOpen {
3737
/// that allow flag-like strings to pass validation. e.g. `--enable-debugging`, `-i`, `/R`.
3838
Validate(String),
3939
}
40-

plugins/updater/src/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ impl Display for WindowsUpdateInstallMode {
5959
}
6060
}
6161

62-
6362
#[derive(Debug, Clone, Deserialize, Default)]
6463
#[serde(rename_all = "camelCase")]
6564
pub struct WindowsConfig {

0 commit comments

Comments
 (0)