Migrate std to Rust 2024

This commit is contained in:
Eric Huss
2025-02-12 14:18:17 -08:00
parent 540ef90832
commit 993359e701
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ version = "0.0.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust.git"
description = "The Rust Standard Library"
edition = "2021"
edition = "2024"
autobenches = false
[lib]

View File

@@ -1064,7 +1064,7 @@ mod move_keyword {}
/// ```rust,compile_fail,E0502
/// let mut v = vec![0, 1];
/// let mut_ref_v = &mut v;
/// ##[allow(unused)]
/// # #[allow(unused)]
/// let ref_v = &v;
/// mut_ref_v.push(2);
/// ```

View File

@@ -531,7 +531,7 @@ impl<'a> ProcThreadAttributeListBuilder<'a> {
/// pub Y: i16,
/// }
///
/// extern "system" {
/// unsafe extern "system" {
/// fn CreatePipe(
/// hreadpipe: *mut HANDLE,
/// hwritepipe: *mut HANDLE,