mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-15 06:20:32 +02:00
Add note about doc tests (#991)
This commit is contained in:
parent
4fe28011a0
commit
ba403016b9
@ -30,4 +30,7 @@ idiomatic to document all public items in an API using this pattern.
|
||||
* Inner doc comments are discussed later (in the page on modules) and need not
|
||||
be addressed here.
|
||||
|
||||
* Rustdoc comments can contain code snippets that we can run and test using `cargo test`.
|
||||
We will discuss these tests in the [Testing section](../testing/doc-tests.html).
|
||||
|
||||
</details>
|
||||
|
Loading…
Reference in New Issue
Block a user