From 6eb0bbb8446f62c4cbb8df044b431f5e678f79e5 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Thu, 2 May 2024 13:34:45 +0200 Subject: [PATCH] - bump versions - remove unnecessary () --- Cargo.toml | 18 +++++++++--------- src/lib.rs | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b0aa1b9..b1ce5e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "rusty_funge" -version = "2022.12.5" +version = "2024.5.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -clap = { version = "4.0.29", features = ["derive"] } -chrono = "0.4.23" +clap = { version = "4.5.4", features = ["derive"] } +chrono = "0.4.38" cursive = { version = "0.20.0", features = ["termion-backend"] } rand = "0.8.5" -num = "0.4.0" -anyhow = "1.0.68" -thiserror = "1.0.38" -strum = "0.24.1" -strum_macros = "0.24.3" -regex = "1.7.0" \ No newline at end of file +num = "0.4.2" +anyhow = "1.0.82" +thiserror = "1.0.59" +strum = "0.26.2" +strum_macros = "0.26.2" +regex = "1.10.4" \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index ff1a7cb..501bc1c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1091,7 +1091,7 @@ impl FungeSpace { pub fn insert(&mut self, index: Vec, op: I) { if self.orig_rect.contains(&index) { - self.orig_code[(index[1] as usize)][(index[0] as usize)] = op; + self.orig_code[index[1] as usize][index[0] as usize] = op; } else if op == self.space { self.new_code.remove(&index); } else {