From f8f3a030b32d9a0fa52be6834fb142ea1c14f2d2 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Fri, 27 Dec 2024 23:37:28 +0100 Subject: [PATCH] Update more hardcoded docs.rs URLs (#3125) --- axum-extra/src/either.rs | 2 +- axum-macros/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/axum-extra/src/either.rs b/axum-extra/src/either.rs index 9fa1f82f..5d0e33eb 100755 --- a/axum-extra/src/either.rs +++ b/axum-extra/src/either.rs @@ -88,7 +88,7 @@ //! types, but if you need to preserve the exact type then `Either*` works as well. //! //! [`BytesRejection`]: axum::extract::rejection::BytesRejection -//! [`IntoResponse::into_response`]: https://docs.rs/axum/0.5/axum/response/index.html#returning-different-response-types +//! [`IntoResponse::into_response`]: https://docs.rs/axum/0.8/axum/response/index.html#returning-different-response-types use std::task::{Context, Poll}; diff --git a/axum-macros/src/lib.rs b/axum-macros/src/lib.rs index c1b372ec..22a237e5 100644 --- a/axum-macros/src/lib.rs +++ b/axum-macros/src/lib.rs @@ -568,7 +568,7 @@ pub fn derive_from_request_parts(item: TokenStream) -> TokenStream { /// /// This macro has no effect when compiled with the release profile. (eg. `cargo build --release`) /// -/// [`axum`]: https://docs.rs/axum/0.7 +/// [`axum`]: https://docs.rs/axum/0.8 /// [`Handler`]: https://docs.rs/axum/0.8/axum/handler/trait.Handler.html /// [`axum::extract::State`]: https://docs.rs/axum/0.8/axum/extract/struct.State.html /// [`debug_handler`]: macro@debug_handler