Skip to content

Commit

Permalink
v1.0.4
Browse files Browse the repository at this point in the history
Fix (yet another) off-by-one in the UI logic
  • Loading branch information
Colonial-Dev committed May 3, 2024
1 parent 1b62cf6 commit 73e112e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "deduct"
authors = ["Colonial"]
version = "1.0.3"
version = "1.0.4"
edition = "2021"
description = "A Fitch-style natural deduction proof checker, with support for modal logic."
repository = "https://github.com/Colonial-Dev/deduct"
Expand Down
2 changes: 1 addition & 1 deletion src/ui/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl ProofUi {
if end == n {
self.lines.remove(n);
} else {
self.lines.drain(n..end);
self.lines.drain(n..=end);
}
}
else {
Expand Down

0 comments on commit 73e112e

Please sign in to comment.