trpl-zh-cn/listings/ch19-advanced-features/listing-19-21/output.txt

6 lines
225 B
Plaintext

$ cargo run
Compiling traits-example v0.1.0 (file:///projects/traits-example)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
Running `target/debug/traits-example`
A baby dog is called a puppy