From c4e4f71b3a43c1ab78a2fda77489c7da8a8bc700 Mon Sep 17 00:00:00 2001 From: Unisko PENG Date: Wed, 10 May 2023 16:54:20 +0800 Subject: [PATCH] Update Ch15 --- src/Ch15_Smart_Pointers.md | 2 ++ 1 file changed, 2 insertions(+) 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` 定义*