Leave a note to ourselves about documentation examples

Fixes #229 by reminding us for when that chapter gets more work.
This commit is contained in:
Carol (Nichols || Goulding)
2016-08-26 15:56:27 -07:00
parent 51a077d3fe
commit 1f4b3c0e35
+10
View File
@@ -43,3 +43,13 @@ src/main.rs:1 /// What am I documenting?
```
### Generating HTML documentation
### Documentation examples
Another special part about documentation comments is that code examples in
documentation comments are run as part of your tests, so that they're less
likely to go out of date! To use this feature:
- TODO: insert a documentation example, preferably one that demonstrates a
`use` statement including parts of the current crate, not just stdlib.