Skip to content

Commit 73e112e

Browse files
committed
v1.0.4
Fix (yet another) off-by-one in the UI logic
1 parent 1b62cf6 commit 73e112e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "deduct"
33
authors = ["Colonial"]
4-
version = "1.0.3"
4+
version = "1.0.4"
55
edition = "2021"
66
description = "A Fitch-style natural deduction proof checker, with support for modal logic."
77
repository = "https://github.com/Colonial-Dev/deduct"

src/ui/proof.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl ProofUi {
191191
if end == n {
192192
self.lines.remove(n);
193193
} else {
194-
self.lines.drain(n..end);
194+
self.lines.drain(n..=end);
195195
}
196196
}
197197
else {

0 commit comments

Comments
 (0)