trpl-zh-cn/listings/ch05-using-structs-to-structure-related-data/no-listing-05-dbg-macro/output.txt

10 lines
293 B
Plaintext

$ cargo run
Compiling rectangles v0.1.0 (file:///projects/rectangles)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s
Running `target/debug/rectangles`
[src/main.rs:10:16] 30 * scale = 60
[src/main.rs:14:5] &rect1 = Rectangle {
width: 60,
height: 50,
}