We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9d101 commit 07e8354Copy full SHA for 07e8354
src/tools/jsondocck/src/config.rs
@@ -4,11 +4,11 @@ use getopts::Options;
4
pub struct Config {
5
/// The directory documentation output was generated in.
6
pub doc_dir: String,
7
- /// The file documentation was generated for, with docck directives to check.
+ /// The file documentation was generated for, with `jsondocck` directives to check.
8
pub template: String,
9
}
10
11
-/// Create a Config from a vector of command-line arguments.
+/// Create [`Config`] from a vector of command-line arguments.
12
pub fn parse_config(args: Vec<String>) -> Config {
13
let mut opts = Options::new();
14
opts.reqopt("", "doc-dir", "Path to the documentation output directory.", "PATH")
0 commit comments