chore: apply clippy fixes (#3092)

This commit is contained in:
Fabian-Lars
2025-11-09 18:43:17 +01:00
committed by GitHub
parent 5cd7778723
commit 5438a5cd22
6 changed files with 11 additions and 32 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ mod imp {
let parent_item_id_list = OwnedItemIdList::new(parent)?;
let to_reveals_item_id_list = to_reveals
.iter()
.map(|to_reveal| OwnedItemIdList::new(*to_reveal))
.map(|to_reveal| OwnedItemIdList::new(to_reveal))
.collect::<crate::Result<Vec<_>>>()?;
if let Err(e) = unsafe {
SHOpenFolderAndSelectItems(
+2 -6
View File
@@ -8,18 +8,14 @@ use serde::Deserialize;
#[derive(Deserialize, Debug)]
#[serde(untagged)]
#[derive(Default)]
pub enum Application {
#[default]
Default,
Enable(bool),
App(String),
}
impl Default for Application {
fn default() -> Self {
Self::Default
}
}
#[derive(Deserialize)]
#[serde(untagged, rename_all = "camelCase")]
pub(crate) enum EntryRaw {