Remove axum::prelude (#195)

This commit is contained in:
Florian Thelliez
2021-08-18 00:04:15 +02:00
committed by GitHub
parent f083c3e97e
commit d9a06ef14b
43 changed files with 529 additions and 171 deletions
+7 -2
View File
@@ -7,10 +7,15 @@ use std::convert::Infallible;
/// # Example
///
/// ```rust,no_run
/// use axum::prelude::*;
/// use axum::{
/// extract::RawQuery,
/// handler::get,
/// route,
/// routing::RoutingDsl
/// };
/// use futures::StreamExt;
///
/// async fn handler(extract::RawQuery(query): extract::RawQuery) {
/// async fn handler(RawQuery(query): RawQuery) {
/// // ...
/// }
///