Skip to content

Commit 44f83c9

Browse files
authored
[meta] update to Rust 1.88 (#8506)
1 parent e9ea400 commit 44f83c9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ disallowed-methods = [
2626
]
2727
disallowed-types = [
2828
{ path = "once_cell::unsync::Lazy", reason = "use `std::cell::LazyCell` instead" },
29-
{ path = "once_cell::unsync::LazyCell", reason = "use `std::cell::LazyCell` instead" },
29+
{ path = "once_cell::sync::Lazy", reason = "use `std::sync::LazyLock` instead" },
3030
]
3131

3232
[[disallowed-macros]]

dev-tools/omdb/src/bin/omdb/nexus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4055,7 +4055,7 @@ async fn cmd_nexus_support_bundles_delete(
40554055
}
40564056

40574057
async fn write_stream_to_sink(
4058-
mut stream: impl futures::Stream<Item = anyhow::Result<bytes::Bytes>>,
4058+
stream: impl futures::Stream<Item = anyhow::Result<bytes::Bytes>>,
40594059
mut sink: impl std::io::Write,
40604060
) -> Result<(), anyhow::Error> {
40614061
let mut stream = std::pin::pin!(stream);

internal-dns/types/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,8 @@ impl DnsConfigBuilder {
593593
.get(&ServiceName::BoundaryNtp)
594594
.map(|zone2port| {
595595
let records = zone2port
596-
.iter()
597-
.map(|(zone, _port)| {
596+
.keys()
597+
.map(|zone| {
598598
let zone_ip = self.zones.get(&zone).expect(
599599
"service_backend_zone() ensures zones are defined",
600600
);

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# We choose a specific toolchain (rather than "stable") for repeatability. The
33
# intent is to keep this up-to-date with recently-released stable Rust.
44

5-
channel = "1.87.0"
5+
channel = "1.88.0"
66
profile = "default"

0 commit comments

Comments
 (0)