@@ -369,9 +369,9 @@ use from_request::Trait::{FromRequest, FromRequestParts};
369
369
/// }
370
370
/// ```
371
371
///
372
- /// [`FromRequest`]: https://docs.rs/axum/0.7 /axum/extract/trait.FromRequest.html
373
- /// [`axum::response::Response`]: https://docs.rs/axum/0.7 /axum/response/type.Response.html
374
- /// [`axum::extract::rejection::ExtensionRejection`]: https://docs.rs/axum/0.7 /axum/extract/rejection/enum.ExtensionRejection.html
372
+ /// [`FromRequest`]: https://docs.rs/axum/0.8 /axum/extract/trait.FromRequest.html
373
+ /// [`axum::response::Response`]: https://docs.rs/axum/0.8 /axum/response/type.Response.html
374
+ /// [`axum::extract::rejection::ExtensionRejection`]: https://docs.rs/axum/0.8 /axum/extract/rejection/enum.ExtensionRejection.html
375
375
#[ proc_macro_derive( FromRequest , attributes( from_request) ) ]
376
376
pub fn derive_from_request ( item : TokenStream ) -> TokenStream {
377
377
expand_with ( item, |item| from_request:: expand ( item, FromRequest ) )
@@ -420,7 +420,7 @@ pub fn derive_from_request(item: TokenStream) -> TokenStream {
420
420
///
421
421
/// Use `#[derive(FromRequest)]` for that.
422
422
///
423
- /// [`FromRequestParts`]: https://docs.rs/axum/0.7 /axum/extract/trait.FromRequestParts.html
423
+ /// [`FromRequestParts`]: https://docs.rs/axum/0.8 /axum/extract/trait.FromRequestParts.html
424
424
#[ proc_macro_derive( FromRequestParts , attributes( from_request) ) ]
425
425
pub fn derive_from_request_parts ( item : TokenStream ) -> TokenStream {
426
426
expand_with ( item, |item| from_request:: expand ( item, FromRequestParts ) )
@@ -569,8 +569,8 @@ pub fn derive_from_request_parts(item: TokenStream) -> TokenStream {
569
569
/// This macro has no effect when compiled with the release profile. (eg. `cargo build --release`)
570
570
///
571
571
/// [`axum`]: https://docs.rs/axum/0.7
572
- /// [`Handler`]: https://docs.rs/axum/0.7 /axum/handler/trait.Handler.html
573
- /// [`axum::extract::State`]: https://docs.rs/axum/0.7 /axum/extract/struct.State.html
572
+ /// [`Handler`]: https://docs.rs/axum/0.8 /axum/handler/trait.Handler.html
573
+ /// [`axum::extract::State`]: https://docs.rs/axum/0.8 /axum/extract/struct.State.html
574
574
/// [`debug_handler`]: macro@debug_handler
575
575
#[ proc_macro_attribute]
576
576
pub fn debug_handler ( _attr : TokenStream , input : TokenStream ) -> TokenStream {
@@ -626,7 +626,7 @@ pub fn debug_handler(_attr: TokenStream, input: TokenStream) -> TokenStream {
626
626
/// This macro has no effect when compiled with the release profile. (eg. `cargo build --release`)
627
627
///
628
628
/// [`axum`]: https://docs.rs/axum/latest
629
- /// [`axum::middleware::from_fn`]: https://docs.rs/axum/0.7 /axum/middleware/fn.from_fn.html
629
+ /// [`axum::middleware::from_fn`]: https://docs.rs/axum/0.8 /axum/middleware/fn.from_fn.html
630
630
/// [`debug_middleware`]: macro@debug_middleware
631
631
#[ proc_macro_attribute]
632
632
pub fn debug_middleware ( _attr : TokenStream , input : TokenStream ) -> TokenStream {
@@ -709,7 +709,7 @@ pub fn derive_typed_path(input: TokenStream) -> TokenStream {
709
709
/// # let _: axum::Router = app;
710
710
/// ```
711
711
///
712
- /// [`FromRef`]: https://docs.rs/axum/0.7 /axum/extract/trait.FromRef.html
712
+ /// [`FromRef`]: https://docs.rs/axum/0.8 /axum/extract/trait.FromRef.html
713
713
#[ proc_macro_derive( FromRef , attributes( from_ref) ) ]
714
714
pub fn derive_from_ref ( item : TokenStream ) -> TokenStream {
715
715
expand_with ( item, from_ref:: expand)
0 commit comments