Skip to content

Commit

Permalink
Clean up style and pass scripts/test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
the10thWiz committed Aug 15, 2023
1 parent 6f1bc32 commit 49ba9a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/src/rocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ impl Rocket<Build> {
/// # impl Fairing for Templates { fn info(&self) -> Info { todo!() } }
/// use rocket::Rocket;
/// use rocket::fairing::AdHoc;
///
///
/// fn some_function() -> &'static str { "" }
///
/// #[launch]
Expand All @@ -527,8 +527,8 @@ impl Rocket<Build> {
/// will be run on each instance.
#[must_use]
pub fn modify_fairings<F: Fairing>(mut self, modifier: impl Fn(&mut F)) -> Self {
// Note: the nightly version of this function uses trait upcasting, and
// should be preferred once [trait upcasting](https://github.com/rust-lang/rust/issues/65991)
// Note: the nightly version of this function uses trait upcasting, and should be
// preferred once [trait upcasting](https://github.com/rust-lang/rust/issues/65991)
// is stable. The nightly version is primarily for testing, and enabled the compiler to
// verify this is safe on nightly.
#[cfg(feature = "nightly")]
Expand Down

0 comments on commit 49ba9a4

Please sign in to comment.