mirror of
https://github.com/RustyCab/LearnRustEasy.git
synced 2026-02-03 10:13:23 +08:00
Update chapter_3_4.md
This commit is contained in:
@@ -46,7 +46,7 @@ Rust提供了cargo doc命令可以把文档注释转换成html网页,最终展
|
||||
(2)文档块注释,使用“/**...*/”。
|
||||
|
||||
示例如下:
|
||||
```
|
||||
```Rust
|
||||
// 下面是文档行注释
|
||||
|
||||
/// `add_one` 将指定值加1
|
||||
|
||||
Reference in New Issue
Block a user