mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 21:11:31 +08:00
10 lines
278 B
Plaintext
Executable File
10 lines
278 B
Plaintext
Executable File
$ cargo run
|
|
Compiling rectangles v0.1.0 (file:///projects/rectangles)
|
|
Finished dev [unoptimized + debuginfo] target(s) in 0.61s
|
|
Running `target/debug/rectangles`
|
|
[src/main.rs:10] 30 * scale = 60
|
|
[src/main.rs:14] &rect1 = Rectangle {
|
|
width: 60,
|
|
height: 50,
|
|
}
|