From e530e6c35225c40913299ef16e6d3443a9541aef Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 19 Aug 2021 16:10:49 +0000 Subject: [PATCH] Simplify doc links Those no longer need to be speicified explicitly in recent versions of rustdoc. --- tower-http/src/trace/on_request.rs | 1 - tower-http/src/trace/on_response.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/tower-http/src/trace/on_request.rs b/tower-http/src/trace/on_request.rs index 74808261..bd1b98fb 100644 --- a/tower-http/src/trace/on_request.rs +++ b/tower-http/src/trace/on_request.rs @@ -63,7 +63,6 @@ impl DefaultOnRequest { /// Defaults to [`Level::DEBUG`]. /// /// [tracing events]: https://docs.rs/tracing/latest/tracing/#events - /// [`Level::DEBUG`]: https://docs.rs/tracing/latest/tracing/struct.Level.html#associatedconstant.DEBUG pub fn level(mut self, level: Level) -> Self { self.level = level; self diff --git a/tower-http/src/trace/on_response.rs b/tower-http/src/trace/on_response.rs index 660672bc..6fa595fa 100644 --- a/tower-http/src/trace/on_response.rs +++ b/tower-http/src/trace/on_response.rs @@ -71,7 +71,6 @@ impl DefaultOnResponse { /// Defaults to [`Level::DEBUG`]. /// /// [tracing events]: https://docs.rs/tracing/latest/tracing/#events - /// [`Level::DEBUG`]: https://docs.rs/tracing/latest/tracing/struct.Level.html#associatedconstant.DEBUG pub fn level(mut self, level: Level) -> Self { self.level = level; self