mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
style: cargo +nightly fmt
This commit is contained in:
parent
807eb59b07
commit
294af1cc5c
213 changed files with 546 additions and 566 deletions
|
@ -1,5 +1,4 @@
|
|||
use ironrdp_core::Encode;
|
||||
use ironrdp_core::{invalid_field_err, EncodeResult, WriteCursor};
|
||||
use ironrdp_core::{invalid_field_err, Encode, EncodeResult, WriteCursor};
|
||||
use ironrdp_graphics::image_processing::PixelFormat;
|
||||
use ironrdp_graphics::rdp6::{ABgrChannels, ARgbChannels, BgrAChannels, BitmapStreamEncoder, RgbAChannels};
|
||||
use ironrdp_pdu::bitmap::{self, BitmapData, BitmapUpdateData, Compression};
|
||||
|
|
|
@ -4,8 +4,7 @@ pub(crate) mod rfx;
|
|||
use core::{cmp, mem};
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use ironrdp_core::Encode;
|
||||
use ironrdp_core::WriteCursor;
|
||||
use ironrdp_core::{Encode, WriteCursor};
|
||||
use ironrdp_pdu::fast_path::{EncryptionFlags, FastPathHeader, FastPathUpdatePdu, Fragmentation, UpdateCode};
|
||||
use ironrdp_pdu::geometry::ExclusiveRectangle;
|
||||
use ironrdp_pdu::pointer::{ColorPointerAttribute, Point16, PointerAttribute, PointerPositionAttribute};
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
use std::{fs::File, io::BufReader, path::Path, sync::Arc};
|
||||
use std::fs::File;
|
||||
use std::io::BufReader;
|
||||
use std::path::Path;
|
||||
use std::sync::Arc;
|
||||
|
||||
use anyhow::Context;
|
||||
use rustls_pemfile::{certs, pkcs8_private_keys};
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
)]
|
||||
#![allow(clippy::arithmetic_side_effects)] // TODO: should we enable this lint back?
|
||||
|
||||
pub use tokio;
|
||||
pub use tokio_rustls;
|
||||
pub use {tokio, tokio_rustls};
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
|
|
@ -947,7 +947,8 @@ impl<W> FramedWrite for SharedWriter<'_, W>
|
|||
where
|
||||
W: FramedWrite,
|
||||
{
|
||||
type WriteAllFut<'write> = core::pin::Pin<Box<dyn core::future::Future<Output = std::io::Result<()>> + 'write>>
|
||||
type WriteAllFut<'write>
|
||||
= core::pin::Pin<Box<dyn core::future::Future<Output = std::io::Result<()>> + 'write>>
|
||||
where
|
||||
Self: 'write;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue