Skip to content

Commit

Permalink
Put axum_extra::extract contents in a more consistent order
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Mar 27, 2023
1 parent 9b1f1a9 commit 3114ed8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions axum-extra/src/extract/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Additional extractors.
mod cached;
mod with_rejection;

#[cfg(feature = "form")]
mod form;
Expand All @@ -14,9 +15,7 @@ mod query;
#[cfg(feature = "multipart")]
pub mod multipart;

mod with_rejection;

pub use self::cached::Cached;
pub use self::{cached::Cached, with_rejection::WithRejection};

#[cfg(feature = "cookie")]
pub use self::cookie::CookieJar;
Expand All @@ -39,5 +38,3 @@ pub use self::multipart::Multipart;
#[cfg(feature = "json-lines")]
#[doc(no_inline)]
pub use crate::json_lines::JsonLines;

pub use self::with_rejection::WithRejection;

0 comments on commit 3114ed8

Please sign in to comment.