mirror of
https://github.com/gnu4cn/rust-lang-zh_CN.git
synced 2026-08-19 04:33:27 +08:00
Updated 'src/advanced_features/traits.md'.
This commit is contained in:
@@ -9,5 +9,5 @@ impl fmt::Display for Wrapper {
|
||||
}
|
||||
fn main() {
|
||||
let w = Wrapper(vec! [String::from("你好"), String::from("世界")]);
|
||||
println! ("w = {}", w);
|
||||
println! ("w = {w}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user