mirror of https://github.com/rwf2/Rocket.git
Update 'Fairing' example to reflect doc's content.
This commit is contained in:
parent
cdacda0896
commit
b3f41f248c
|
@ -283,7 +283,7 @@ pub trait Fairing: Send + Sync + 'static {
|
|||
/// fn info(&self) -> Info {
|
||||
/// Info {
|
||||
/// name: "My Custom Fairing",
|
||||
/// kind: Kind::Attach | Kind::Launch | Kind::Response
|
||||
/// kind: Kind::Launch | Kind::Response
|
||||
/// }
|
||||
/// }
|
||||
/// }
|
||||
|
|
Loading…
Reference in New Issue