S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which keyword is used to declare a module in Rust?

  • (A) package
  • (B) mod
  • (C) crate
  • (D) namespace
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey
mod is used to declare a module.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.