commit 42ee42246a0dbf6b224d3a26e53d96644b3cb57a
parent 79d88c885f270196b1148bc946abc5da7739825f
Author: Byron Torres <b@torresjrjr.com>
Date: Mon, 12 Dec 2022 04:35:50 +0000
fix cmd_linenumber()
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/command.ha b/command.ha
@@ -337,7 +337,6 @@ fn cmd_write(s: *session, cmd: *command) (void | error) = {
fn cmd_linenumber(s: *session, cmd: *command) (void | error) = {
const n = get_linenum(cmd.linenums, addr_lastline(&s.buf));
- assert_nonzero(s, n)?;
fmt::println(n)!;
};