refactor: add unused_trait_names clippy extra-pedantic lint (#900)

This commit is contained in:
Alex Yusiuk
2025-07-31 03:57:09 -04:00
committed by GitHub
parent 5d513dcf09
commit 32b0e40eca
71 changed files with 95 additions and 92 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ fn main() {
mod win {
use std::env;
use std::fs::File;
use std::io::Write;
use std::io::Write as _;
fn generate_version_rc() -> String {
let output_name = "DevolutionsIronRdp";
+1 -1
View File
@@ -1,6 +1,6 @@
#[diplomat::bridge]
pub mod ffi {
use ironrdp::connector::Sequence;
use ironrdp::connector::Sequence as _;
use crate::connector::config::ffi::DesktopSize;
use crate::connector::ffi::PduHint;
+1 -1
View File
@@ -5,7 +5,7 @@ pub mod state;
#[diplomat::bridge]
pub mod ffi {
use core::fmt::Write;
use core::fmt::Write as _;
use diplomat_runtime::DiplomatWriteable;
use ironrdp::connector::Sequence as _;
+1 -1
View File
@@ -95,7 +95,7 @@ pub mod ffi {
}
pub fn get_url(&self, writeable: &mut diplomat_runtime::DiplomatWriteable) -> Result<(), Box<IronRdpError>> {
use core::fmt::Write;
use core::fmt::Write as _;
let url: &str = self.0.url.as_ref();
write!(writeable, "{url}")?;
Ok(())
+1 -1
View File
@@ -1,7 +1,7 @@
#[diplomat::bridge]
pub mod ffi {
use ironrdp::pdu::geometry::Rectangle;
use ironrdp::pdu::geometry::Rectangle as _;
use crate::error::ffi::IronRdpError;
use crate::utils::ffi::VecU8;