about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/unstable-book-gen/src/main.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tools/unstable-book-gen/src/main.rs b/src/tools/unstable-book-gen/src/main.rs
index ec8654adb41..427014ce7fe 100644
--- a/src/tools/unstable-book-gen/src/main.rs
+++ b/src/tools/unstable-book-gen/src/main.rs
@@ -116,11 +116,6 @@ fn copy_recursive(path: &Path, to: &Path) {
     }
 }
 
-fn copy_book_toml(path: &Path) {
-    let mut file = t!(File::create(&path.join("book.toml")));
-    t!(file.write_fmt(format_args!(include_str!("book.toml"));
-}
-
 fn main() {
     let src_path_str = env::args_os().skip(1).next().expect("source path required");
     let dest_path_str = env::args_os().skip(2).next().expect("destination path required");
@@ -146,6 +141,4 @@ fn main() {
     copy_recursive(&doc_src_path, &dest_path);
 
     generate_summary(&dest_path, &lang_features, &lib_features);
-
-    copy_book_toml(&dest_path);
 }