mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Update en/src/comments-docs.md
This commit is contained in:
@ -103,7 +103,7 @@ We can also add doc comments for our crates and modules.
|
||||
|
||||
Firstly, let's add some doc comments for our library crate:
|
||||
|
||||
> Note: We must place crates and module comments at the top of the crate root or module file.
|
||||
> Note: We must place crates and module comments at the top of crate root or module file.
|
||||
```rust
|
||||
//! # Doc comments
|
||||
//!
|
||||
|
Reference in New Issue
Block a user