We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c3979c commit 5ddb339Copy full SHA for 5ddb339
src/tools/unstable-book-gen/src/main.rs
@@ -116,11 +116,6 @@ fn copy_recursive(path: &Path, to: &Path) {
116
}
117
118
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
-
124
fn main() {
125
let src_path_str = env::args_os().skip(1).next().expect("source path required");
126
let dest_path_str = env::args_os().skip(2).next().expect("destination path required");
@@ -146,6 +141,4 @@ fn main() {
146
141
copy_recursive(&doc_src_path, &dest_path);
147
142
148
143
generate_summary(&dest_path, &lang_features, &lib_features);
149
150
- copy_book_toml(&dest_path);
151
144
0 commit comments