What does this program print?

from Modules and crates
Rust 1.98 beginner 2 min

What does this program print?

Rust
mod shipping {
    fn base() -> u32 {
        250
    }

    pub fn quote(weight: u32) -> u32 {
        self::base() + weight * 80
    }
}

fn main() {
    println!("{}", crate::shipping::quote(3));
}
Open in playground
Report an error