- bump versions
- remove unnecessary ()
This commit is contained in:
18
Cargo.toml
18
Cargo.toml
@@ -1,18 +1,18 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rusty_funge"
|
name = "rusty_funge"
|
||||||
version = "2022.12.5"
|
version = "2024.5.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.0.29", features = ["derive"] }
|
clap = { version = "4.5.4", features = ["derive"] }
|
||||||
chrono = "0.4.23"
|
chrono = "0.4.38"
|
||||||
cursive = { version = "0.20.0", features = ["termion-backend"] }
|
cursive = { version = "0.20.0", features = ["termion-backend"] }
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
num = "0.4.0"
|
num = "0.4.2"
|
||||||
anyhow = "1.0.68"
|
anyhow = "1.0.82"
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.59"
|
||||||
strum = "0.24.1"
|
strum = "0.26.2"
|
||||||
strum_macros = "0.24.3"
|
strum_macros = "0.26.2"
|
||||||
regex = "1.7.0"
|
regex = "1.10.4"
|
||||||
@@ -1091,7 +1091,7 @@ impl<I: Int> FungeSpace<I> {
|
|||||||
|
|
||||||
pub fn insert(&mut self, index: Vec<isize>, op: I) {
|
pub fn insert(&mut self, index: Vec<isize>, op: I) {
|
||||||
if self.orig_rect.contains(&index) {
|
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 {
|
} else if op == self.space {
|
||||||
self.new_code.remove(&index);
|
self.new_code.remove(&index);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user