Migrate std to Rust 2024
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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);
|
||||
/// ```
|
||||
|
||||
@@ -531,7 +531,7 @@ impl<'a> ProcThreadAttributeListBuilder<'a> {
|
||||
/// pub Y: i16,
|
||||
/// }
|
||||
///
|
||||
/// extern "system" {
|
||||
/// unsafe extern "system" {
|
||||
/// fn CreatePipe(
|
||||
/// hreadpipe: *mut HANDLE,
|
||||
/// hwritepipe: *mut HANDLE,
|
||||
|
||||
Reference in New Issue
Block a user