Update to Rust 2024

This commit is contained in:
2026-09-07 15:19:07 -05:00
parent 99d7e9c264
commit 535b850ea1
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[package]
name = "vcore"
version = "0.1.0"
edition = "2021"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+1 -1
View File
@@ -14,7 +14,7 @@ impl<R: Rng> From<R> for Memory {
fn from(mut rng: R) -> Self {
let mut mem = Memory::default();
for i in 0..(MEM_SIZE - 1) {
mem.0[i as usize] = rng.gen()
mem.0[i as usize] = rng.r#gen()
}
mem
}