From 5bc9dc01618421596d65a7046e46559a872c6693 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Mon, 25 Aug 2025 22:38:19 -0400 Subject: Group Rust imports by crate. I've been doing this by hand anyways, and this makes it a _ton_ less tedious to maintain. I think it looks nice. This does, however, require nightly - for formatting only. --- src/setup/required.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/setup') diff --git a/src/setup/required.rs b/src/setup/required.rs index 2112e4b..7276827 100644 --- a/src/setup/required.rs +++ b/src/setup/required.rs @@ -3,8 +3,10 @@ use axum::{ http::StatusCode, response::{IntoResponse, Response}, }; -use std::pin::Pin; -use std::task::{Context, Poll}; +use std::{ + pin::Pin, + task::{Context, Poll}, +}; use tower::{Layer, Service}; use crate::{app::App, error::Internal}; -- cgit v1.2.3