Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Mar 15, 2024
1 parent 300b0d5 commit bd1ffb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmarks/src/routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fn client(routes: Vec<Route>) -> 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(),
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/fairing/ad_hoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/shutdown/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit bd1ffb9

Please sign in to comment.