Update Ch15

This commit is contained in:
Peng Hailin, 2023-05-09 21:03:20 +08:00
parent 925f3355c0
commit a3d3975782

View File

@ -10,10 +10,10 @@ impl Drop for CustomSmartPointer {
fn main() {
let c = CustomSmartPointer {
data: String::from("c-我的事情"),
data: String::from("c - 我的事情"),
};
let d = CustomSmartPointer {
data: String::from("d-其他事情"),
data: String::from("d - 其他事情"),
};
println! ("已创建出一些 CustomSmartPointer 实例");
}