mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
260 B
260 B
fn main() {
let s1 = "hello";
/* Fill in the blank */
let s = format!("{}, world!", s1);
assert_eq!(s, "hello, world!");
}
fn main() {
print!("hello world, ");
println!("I am");
println!("Sunface!");
}