From bd1ffb9ac39c230d2e42e10b5bd76684c8e972d2 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 15 Mar 2024 01:17:38 -0700 Subject: [PATCH] WIP --- benchmarks/src/routing.rs | 2 +- core/lib/src/fairing/ad_hoc.rs | 2 +- core/lib/src/shutdown/handle.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/src/routing.rs b/benchmarks/src/routing.rs index 89dd4e5ca6..417615cd36 100644 --- a/benchmarks/src/routing.rs +++ b/benchmarks/src/routing.rs @@ -82,7 +82,7 @@ fn client(routes: Vec) -> Client { profile: Config::RELEASE_PROFILE, log_level: rocket::config::LogLevel::Off, cli_colors: config::CliColors::Never, - shutdown: config::Shutdown { + shutdown: config::ShutdownConfig { ctrlc: false, #[cfg(unix)] signals: HashSet::new(), diff --git a/core/lib/src/fairing/ad_hoc.rs b/core/lib/src/fairing/ad_hoc.rs index a83d6e58ac..a167c42fc8 100644 --- a/core/lib/src/fairing/ad_hoc.rs +++ b/core/lib/src/fairing/ad_hoc.rs @@ -187,7 +187,7 @@ impl AdHoc { /// Constructs an `AdHoc` shutdown fairing named `name`. The function `f` /// will be called by Rocket when [shutdown is triggered]. /// - /// [shutdown is triggered]: crate::config::Shutdown#triggers + /// [shutdown is triggered]: crate::config::ShutdownConfig#triggers /// /// # Example /// diff --git a/core/lib/src/shutdown/handle.rs b/core/lib/src/shutdown/handle.rs index 63aff6d2b4..1338ce04d7 100644 --- a/core/lib/src/shutdown/handle.rs +++ b/core/lib/src/shutdown/handle.rs @@ -88,7 +88,7 @@ impl Shutdown { /// This function returns immediately; pending requests will continue to run /// until completion or expiration of the grace period, which ever comes /// first, before the actual shutdown occurs. The grace period can be - /// configured via [`Shutdown::grace`](crate::config::Shutdown::grace). + /// configured via [`Shutdown::grace`](crate::config::ShutdownConfig::grace). /// /// ```rust /// # use rocket::*;