Skip to content

Commit 8a28b79

Browse files
committed
Bump nightly version -> 2025-05-21
1 parent 910e640 commit 8a28b79

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

clippy_dev/src/sync.rs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ use std::fmt::Write;
44

55
pub fn update_nightly() {
66
let date = Utc::now().format("%Y-%m-%d").to_string();
7-
let update = &mut update_text_region_fn(
7+
let toolchain_update = &mut update_text_region_fn(
88
"# begin autogenerated nightly\n",
99
"# end autogenerated nightly",
1010
|dst| {
1111
writeln!(dst, "channel = \"nightly-{date}\"").unwrap();
1212
},
1313
);
14+
let readme_update = &mut update_text_region_fn(
15+
"<!-- begin autogenerated nightly -->\n",
16+
"<!-- end autogenerated nightly -->",
17+
|dst| {
18+
writeln!(dst, "```\nnightly-{date}\n```").unwrap();
19+
},
20+
);
1421

1522
let mut updater = FileUpdater::default();
16-
updater.update_file("rust-toolchain.toml", update);
17-
updater.update_file("clippy_utils/README.md", update);
23+
updater.update_file("rust-toolchain.toml", toolchain_update);
24+
updater.update_file("clippy_utils/README.md", readme_update);
1825
}

clippy_utils/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This crate is only guaranteed to build with this `nightly` toolchain:
88

99
<!-- begin autogenerated nightly -->
1010
```
11-
nightly-2025-05-14
11+
nightly-2025-05-21
1212
```
1313
<!-- end autogenerated nightly -->
1414

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[toolchain]
22
# begin autogenerated nightly
3-
channel = "nightly-2025-05-14"
3+
channel = "nightly-2025-05-21"
44
# end autogenerated nightly
55
components = ["cargo", "llvm-tools", "rust-src", "rust-std", "rustc", "rustc-dev", "rustfmt"]
66
profile = "minimal"

0 commit comments

Comments
 (0)