Skip to content

Commit 5ddb339

Browse files
author
Bastian Gruber
committed
Remove copy_book_toml method in favor for copy_recursive
1 parent 1c3979c commit 5ddb339

File tree

1 file changed

+0
-7
lines changed
  • src/tools/unstable-book-gen/src

1 file changed

+0
-7
lines changed

src/tools/unstable-book-gen/src/main.rs

-7
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ fn copy_recursive(path: &Path, to: &Path) {
116116
}
117117
}
118118

119-
fn copy_book_toml(path: &Path) {
120-
let mut file = t!(File::create(&path.join("book.toml")));
121-
t!(file.write_fmt(format_args!(include_str!("book.toml"));
122-
}
123-
124119
fn main() {
125120
let src_path_str = env::args_os().skip(1).next().expect("source path required");
126121
let dest_path_str = env::args_os().skip(2).next().expect("destination path required");
@@ -146,6 +141,4 @@ fn main() {
146141
copy_recursive(&doc_src_path, &dest_path);
147142

148143
generate_summary(&dest_path, &lang_features, &lib_features);
149-
150-
copy_book_toml(&dest_path);
151144
}

0 commit comments

Comments
 (0)