]> git.lizzy.rs Git - rust.git/commitdiff
No consumers of MdBook2 yet
authorJames Munns <james.munns@ferrous-systems.com>
Thu, 10 Jan 2019 20:18:13 +0000 (21:18 +0100)
committerSteve Klabnik <steve@steveklabnik.com>
Wed, 30 Jan 2019 14:13:17 +0000 (09:13 -0500)
src/bootstrap/doc.rs

index c428f29d706842a2739d58817c0dfa0f84d89dc3..08e97396fd68b3044c9851459e5abda21ea02ea8 100644 (file)
@@ -71,6 +71,10 @@ fn run(self, builder: &Builder) {
 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
 enum RustbookVersion {
     MdBook1,
+
+    /// Note: Currently no books use mdBook v2, but we want the option
+    /// to be available
+    #[allow(dead_code)]
     MdBook2,
 }