mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
refactor: add unused_trait_names clippy extra-pedantic lint (#900)
This commit is contained in:
+1
-1
@@ -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,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;
|
||||
|
||||
@@ -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 _;
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user