Skip to content

Commit d440a61

Browse files
committed
Migrate std to Rust 2024
1 parent 584164b commit d440a61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
/// ```

0 commit comments

Comments
 (0)