- bump versions
- remove unnecessary ()
This commit is contained in:
18
Cargo.toml
18
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"
|
||||
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"
|
||||
@@ -1091,7 +1091,7 @@ impl<I: Int> FungeSpace<I> {
|
||||
|
||||
pub fn insert(&mut self, index: Vec<isize>, 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 {
|
||||
|
||||
Reference in New Issue
Block a user