diff --git a/src/Ch15_Smart_Pointers.md b/src/Ch15_Smart_Pointers.md index 3d47a4f..706c26f 100644 --- a/src/Ch15_Smart_Pointers.md +++ b/src/Ch15_Smart_Pointers.md @@ -692,7 +692,9 @@ error: could not compile `sp_demos` due to previous error; 文件名:`src/main.rs` +```rust {{#rustdoc_include ../projects/rc_demo/src/main.rs}} +``` *清单 15-18:使用了 `Rc` 的 `List` 定义*