Skip to content

Commit

Permalink
Cleanup: imports order
Browse files Browse the repository at this point in the history
  • Loading branch information
missingdays committed Dec 2, 2024
1 parent b72416b commit 76eba9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion volo-build/src/grpc_backend.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use crate::util::{get_base_dir, write_file, write_item};
use itertools::Itertools;
use pilota_build::{
db::RirDatabase,
Expand All @@ -9,6 +8,8 @@ use pilota_build::{
};
use volo::FastStr;

use crate::util::{get_base_dir, write_file, write_item};

pub struct MkGrpcBackend;

impl pilota_build::MakeBackend for MkGrpcBackend {
Expand Down
3 changes: 2 additions & 1 deletion volo-build/src/thrift_backend.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use std::path::Path;

use crate::util::{get_base_dir, write_file, write_item};
use itertools::Itertools;
use pilota_build::{
codegen::thrift::DecodeHelper,
Expand All @@ -12,6 +11,8 @@ use pilota_build::{
use quote::format_ident;
use volo::FastStr;

use crate::util::{get_base_dir, write_file, write_item};

#[derive(Clone)]
pub struct VoloThriftBackend {
inner: ThriftBackend,
Expand Down

0 comments on commit 76eba9f

Please sign in to comment.