Skip to content

Commit 81c7ffc

Browse files
committed
v1.0.2
Various UI tweaks Fix off-by-one in modal strict nesting check
1 parent c611a37 commit 81c7ffc

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.1"
4+
version = "1.0.2"
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/check/rules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ fn check_strict_nesting(p: &Proof, s: u16, e: u16) -> Result<(), CheckError> {
237237
let mut depth = 0_u16;
238238
let mut nest = 0_u16;
239239

240-
for n in s..e {
240+
for n in s..=e {
241241
let line = p.line(n).unwrap();
242242

243243
if line.s.is_nec_signal() {

0 commit comments

Comments
 (0)