style: run formatter for imports

This commit is contained in:
Benoît CORTIER
2025-05-27 08:48:51 -04:00
committed by Benoît Cortier
parent e76f15e8bc
commit 9bc382348d
4 changed files with 16 additions and 12 deletions
+7 -6
View File
@@ -3,15 +3,16 @@
#![allow(clippy::print_stdout)]
use core::time::Duration;
use std::{io::Write, time::Instant};
use std::io::Write;
use std::time::Instant;
use anyhow::Context;
use ironrdp::pdu::rdp::capability_sets::{CmdFlags, EntropyBits};
use ironrdp::server::{
bench::encoder::{UpdateEncoder, UpdateEncoderCodecs},
BitmapUpdate, DesktopSize, DisplayUpdate, PixelFormat, RdpServerDisplayUpdates,
};
use tokio::{fs::File, io::AsyncReadExt, time::sleep};
use ironrdp::server::bench::encoder::{UpdateEncoder, UpdateEncoderCodecs};
use ironrdp::server::{BitmapUpdate, DesktopSize, DisplayUpdate, PixelFormat, RdpServerDisplayUpdates};
use tokio::fs::File;
use tokio::io::AsyncReadExt;
use tokio::time::sleep;
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), anyhow::Error> {
+2 -3
View File
@@ -439,11 +439,10 @@ macro_rules! make_bridge {
#[doc(hidden)]
pub mod internal {
#[doc(hidden)]
pub use web_sys;
#[doc(hidden)]
pub use wasm_bindgen;
#[doc(hidden)]
pub use web_sys;
#[doc(hidden)]
pub fn setup(log_level: &str) {
+2 -1
View File
@@ -209,9 +209,10 @@ pub fn find_different_rects_sub<const BPP: usize>(
#[cfg(test)]
mod tests {
use super::*;
use bytemuck::cast_slice;
use super::*;
#[test]
fn test_intersect() {
let r1 = Rect::new(0, 0, 640, 480);
+5 -2
View File
@@ -296,9 +296,12 @@ pub trait RdpServerDisplay: Send {
#[cfg(test)]
mod tests {
use super::{BitmapUpdate, Framebuffer};
use core::num::NonZeroU16;
use ironrdp_graphics::{diff::Rect, image_processing::PixelFormat};
use ironrdp_graphics::diff::Rect;
use ironrdp_graphics::image_processing::PixelFormat;
use super::{BitmapUpdate, Framebuffer};
#[test]
fn framebuffer_update() {