fn main() {
// println!("{}",add(2,3));
another_function();
}
fn another_function() {
let a = 666;
println!("Rust's first language!老铁双击 {}",a);
}
运行代码
~ rustc 文件名.rs
~./文件名
fn main() {
// println!("{}",add(2,3));
another_function();
}
fn another_function() {
let a = 666;
println!("Rust's first language!老铁双击 {}",a);
}
运行代码
~ rustc 文件名.rs
~./文件名