Replace RoutingDsl trait with Router type (#214)

* Remove `RoutingDsl`

* Fix typo
This commit is contained in:
David Pedersen
2021-08-19 21:24:32 +02:00
committed by GitHub
parent 0fd17d4181
commit 97b53768ba
45 changed files with 177 additions and 283 deletions
-2
View File
@@ -8,7 +8,6 @@
//! handler::get,
//! response::IntoResponse,
//! route,
//! routing::RoutingDsl
//! };
//!
//! let app = route("/ws", get(handler));
@@ -115,7 +114,6 @@ impl WebSocketUpgrade {
/// handler::get,
/// response::IntoResponse,
/// route,
/// routing::RoutingDsl
/// };
///
/// let app = route("/ws", get(handler));