From 3e41e2f475d2797e509b19a2c359779ef601f778 Mon Sep 17 00:00:00 2001 From: Horbin <46142827+Horbin-Magician@users.noreply.github.com> Date: Wed, 13 Sep 2023 02:51:23 +0800 Subject: [PATCH] Update suggestions.md (#744) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 给Rust添加注释说明 --- docs/chapter_preface/suggestions.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/chapter_preface/suggestions.md b/docs/chapter_preface/suggestions.md index 8c19b51f8..aab5d386e 100644 --- a/docs/chapter_preface/suggestions.md +++ b/docs/chapter_preface/suggestions.md @@ -133,7 +133,14 @@ === "Rust" ```rust title="" + /* 标题注释,用于标注函数、类、测试样例等 */ + // 内容注释,用于详解代码 + + /** + * 多行 + * 注释 + */ ``` === "C"