summaryrefslogtreecommitdiff
path: root/add/adder/src/main.rs
blob: 7deb7962f4822c8d9617c14a5e7d358a8f5b40ea (plain)
1
2
3
4
5
6
7
8
9
10
use add_one;

fn main() {
    let num = 10;
    println!(
        "Hello, world! {} plus one is {}!",
        num,
        add_one::add_one(num)
    );
}