chore: edition 2024

This commit is contained in:
Lucas Nogueira
2026-09-26 15:36:22 -03:00
parent b517cc7e85
commit 3d8a3c877b
100 changed files with 276 additions and 253 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
use tauri::{command, image::JsImage, AppHandle, Manager, ResourceId, Runtime, State, Webview};
use tauri::{AppHandle, Manager, ResourceId, Runtime, State, Webview, command, image::JsImage};
use crate::{Clipboard, Result};
+1 -1
View File
@@ -4,7 +4,7 @@
use arboard::ImageData;
use serde::de::DeserializeOwned;
use tauri::{image::Image, plugin::PluginApi, AppHandle, Runtime};
use tauri::{AppHandle, Runtime, image::Image, plugin::PluginApi};
use std::{borrow::Cow, sync::Mutex};
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
use serde::{ser::Serializer, Serialize};
use serde::{Serialize, ser::Serializer};
/// Alias for `Result<T, Error>` used throughout this crate.
pub type Result<T> = std::result::Result<T, Error>;
+1 -1
View File
@@ -10,8 +10,8 @@
)]
use tauri::{
plugin::{Builder, TauriPlugin},
Manager, RunEvent, Runtime,
plugin::{Builder, TauriPlugin},
};
#[cfg(desktop)]
+1 -1
View File
@@ -5,9 +5,9 @@
use serde::de::DeserializeOwned;
use serde::{Deserialize, Serialize};
use tauri::{
AppHandle, Runtime,
image::Image,
plugin::{PluginApi, PluginHandle},
AppHandle, Runtime,
};
use std::borrow::Cow;