Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRustmodules and useSingle-choice MCQ

Why does calling `helper()` from `main` fail to compile here?

mod util { fn helper() -> i32 { 42 } } fn main() { let x = util::helper(); }