From c5590beb3c1d7aa10bf05765753216f06192a77d Mon Sep 17 00:00:00 2001 From: "evgeny.bovykin" Date: Sun, 13 Oct 2024 16:40:03 +0200 Subject: [PATCH] Apply fmt fixes --- pilota-build/src/codegen/mod.rs | 3 +-- pilota-build/src/test/mod.rs | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pilota-build/src/codegen/mod.rs b/pilota-build/src/codegen/mod.rs index c3280bf7..6cbd759c 100644 --- a/pilota-build/src/codegen/mod.rs +++ b/pilota-build/src/codegen/mod.rs @@ -6,8 +6,7 @@ use std::{ }; use ahash::AHashMap; -use dashmap::mapref::one::RefMut; -use dashmap::DashMap; +use dashmap::{mapref::one::RefMut, DashMap}; use faststr::FastStr; use itertools::Itertools; use normpath::PathExt; diff --git a/pilota-build/src/test/mod.rs b/pilota-build/src/test/mod.rs index 830ba38b..1022e24d 100644 --- a/pilota-build/src/test/mod.rs +++ b/pilota-build/src/test/mod.rs @@ -1,8 +1,7 @@ #![cfg(test)] -use std::fs::File; -use std::process::Command; -use std::{fs, path::Path}; +use std::{fs, fs::File, path::Path, process::Command}; + use tempfile::tempdir; use crate::{plugin::SerdePlugin, IdlService};