From 0d9afd9773884528961862d54d0f9b00894f1527 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Sat, 10 Sep 2022 08:56:44 +0200 Subject: [PATCH] fix docs links --- axum-core/src/extract/default_body_limit.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/axum-core/src/extract/default_body_limit.rs b/axum-core/src/extract/default_body_limit.rs index 88108ae2c9..7f12bc9c8e 100644 --- a/axum-core/src/extract/default_body_limit.rs +++ b/axum-core/src/extract/default_body_limit.rs @@ -13,8 +13,8 @@ use tower_layer::Layer; /// /// [`Body::data`]: http_body::Body::data /// [`Bytes`]: bytes::Bytes -/// [`Json`]: https://docs.rs/axum/0.6.0-rc.1/axum/struct.Json.html -/// [`Form`]: https://docs.rs/axum/0.6.0-rc.1/axum/struct.Form.html +/// [`Json`]: https://docs.rs/axum/0.5/axum/struct.Json.html +/// [`Form`]: https://docs.rs/axum/0.5/axum/struct.Form.html #[derive(Debug, Clone)] #[non_exhaustive] pub struct DefaultBodyLimit; @@ -50,8 +50,8 @@ impl DefaultBodyLimit { /// /// [`tower_http::limit`]: https://docs.rs/tower-http/0.3.4/tower_http/limit/index.html /// [`Bytes`]: bytes::Bytes - /// [`Json`]: https://docs.rs/axum/0.6.0-rc.1/axum/struct.Json.html - /// [`Form`]: https://docs.rs/axum/0.6.0-rc.1/axum/struct.Form.html + /// [`Json`]: https://docs.rs/axum/0.5/axum/struct.Json.html + /// [`Form`]: https://docs.rs/axum/0.5/axum/struct.Form.html pub fn disable() -> Self { Self }