Fichier d'importation de rouille

// in main.rs
mod hello;

fn main() {
    hello::print_hello();
}

// in hello.rs
pub fn print_hello() {
    println!("Hello, world!");
}
Fabrice Hategekimana