Completed 01 activities
This commit is contained in:
parent
fc7a5ee342
commit
9741f01b6e
@ -20,4 +20,7 @@ fn main() {
|
|||||||
struct Structure(i32);
|
struct Structure(i32);
|
||||||
|
|
||||||
// println!("This struct `{}` won't print...", Structure(3));
|
// println!("This struct `{}` won't print...", Structure(3));
|
||||||
|
|
||||||
|
let pi = 3.141592;
|
||||||
|
println!("Pi is roughly {:.*}", 3, pi);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user