We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0214ba6 + 2ae29bd commit a6bc33bCopy full SHA for a6bc33b
src/meta/doc.md
@@ -1,6 +1,7 @@
1
# Documentation
2
3
-Use `cargo doc` to build documentation in `target/doc`.
+Use `cargo doc` to build documentation in `target/doc`, `cargo doc --open`
4
+will automatically open it in your web browser.
5
6
Use `cargo test` to run all tests (including documentation tests), and `cargo
7
test --doc` to only run documentation tests.
@@ -23,11 +24,7 @@ pub struct Person {
23
24
}
25
26
impl Person {
- /// Returns a person with the name given them
27
- ///
28
- /// # Arguments
29
30
- /// * `name` - A string slice that holds the name of the person
+ /// Creates a person with the given name.
31
///
32
/// # Examples
33
0 commit comments