Skip to content

Commit eadb76e

Browse files
committed
Include rustc and rustdoc book in replace-version-placeholder
1 parent ad211ce commit eadb76e

File tree

1 file changed

+6
-1
lines changed
  • src/tools/replace-version-placeholder/src

1 file changed

+6
-1
lines changed

src/tools/replace-version-placeholder/src/main.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ fn main() {
1010
let version_str = t!(std::fs::read_to_string(&version_path), version_path);
1111
let version_str = version_str.trim();
1212
walk::walk_many(
13-
&[&root_path.join("compiler"), &root_path.join("library")],
13+
&[
14+
&root_path.join("compiler"),
15+
&root_path.join("library"),
16+
&root_path.join("src/doc/rustc"),
17+
&root_path.join("src/doc/rustdoc"),
18+
],
1419
|path, _is_dir| walk::filter_dirs(path),
1520
&mut |entry, contents| {
1621
if !contents.contains(VERSION_PLACEHOLDER) {

0 commit comments

Comments
 (0)