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

Given this module, which path correctly calls `add` from `main`?

mod math { pub fn add(a: i32, b: i32) -> i32 { a + b } } fn main() { // call add here }