Skip to content

Commit 993359e

Browse files
committed
Migrate std to Rust 2024
1 parent 540ef90 commit 993359e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library/std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.0.0"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/rust.git"
88
description = "The Rust Standard Library"
9-
edition = "2021"
9+
edition = "2024"
1010
autobenches = false
1111

1212
[lib]

library/std/src/keyword_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ mod move_keyword {}
10641064
/// ```rust,compile_fail,E0502
10651065
/// let mut v = vec![0, 1];
10661066
/// let mut_ref_v = &mut v;
1067-
/// ##[allow(unused)]
1067+
/// # #[allow(unused)]
10681068
/// let ref_v = &v;
10691069
/// mut_ref_v.push(2);
10701070
/// ```

library/std/src/os/windows/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ impl<'a> ProcThreadAttributeListBuilder<'a> {
531531
/// pub Y: i16,
532532
/// }
533533
///
534-
/// extern "system" {
534+
/// unsafe extern "system" {
535535
/// fn CreatePipe(
536536
/// hreadpipe: *mut HANDLE,
537537
/// hwritepipe: *mut HANDLE,

0 commit comments

Comments
 (0)