From ce8817dd3cae46e48cc91b0f320539a6485bb6c6 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Mon, 2 Jul 2018 18:18:41 -0700 Subject: [PATCH] Clarify behavior of 'Rocket::attach()'. --- core/lib/src/rocket.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/lib/src/rocket.rs b/core/lib/src/rocket.rs index d8360abf..0eb5aa16 100644 --- a/core/lib/src/rocket.rs +++ b/core/lib/src/rocket.rs @@ -601,7 +601,9 @@ impl Rocket { self } - /// Attaches a fairing to this instance of Rocket. + /// Attaches a fairing to this instance of Rocket. If the fairing is an + /// _attach_ fairing, it is run immediately. All other kinds of fairings + /// will be executed at their appropriate time. /// /// # Example ///