summaryrefslogtreecommitdiff
path: root/examples/versioning/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/versioning/src/main.rs')
-rw-r--r--examples/versioning/src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/versioning/src/main.rs b/examples/versioning/src/main.rs
index 4ada19b8..58ea496d 100644
--- a/examples/versioning/src/main.rs
+++ b/examples/versioning/src/main.rs
@@ -5,7 +5,6 @@
//! ```
use axum::{
- async_trait,
extract::{FromRequestParts, Path},
http::{request::Parts, StatusCode},
response::{IntoResponse, Response},
@@ -47,7 +46,6 @@ enum Version {
V3,
}
-#[async_trait]
impl<S> FromRequestParts<S> for Version
where
S: Send + Sync,