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 a36d93d commit adbb820Copy full SHA for adbb820
src/tools/rustbook/src/main.rs
@@ -41,7 +41,6 @@ fn main() {
41
// Check which subcomamnd the user ran...
42
let res = match matches.subcommand() {
43
("build", Some(sub_matches)) => build(sub_matches),
44
- ("test", Some(sub_matches)) => test(sub_matches),
45
(_, _) => unreachable!(),
46
};
47
@@ -65,14 +64,6 @@ fn build(args: &ArgMatches) -> Result<(), Box<Error>> {
65
64
Ok(())
66
}
67
68
-fn test(args: &ArgMatches) -> Result<(), Box<Error>> {
69
- let mut book = build_mdbook_struct(args);
70
-
71
- try!(book.test());
72
73
- Ok(())
74
-}
75
76
fn build_mdbook_struct(args: &ArgMatches) -> mdbook::MDBook {
77
let book_dir = get_book_dir(args);
78
let mut book = MDBook::new(&book_dir).read_config();
0 commit comments