Rocket import statement #1700
-
Why this ? #[macro_use] extern crate rocket; Why not? use rocket; I am new to rust and trying to understand why you are using this pattern? |
Beta Was this translation helpful? Give feedback.
Answered by
paulzhang5511
Jun 15, 2021
Replies: 1 comment
-
https://rocket.rs/v0.5-rc/guide/overview/#lifecycle That's the official answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ekanna
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://rocket.rs/v0.5-rc/guide/overview/#lifecycle
That's the official answer.