From 3516cb3fa5f475f98246f48601eda31bfa11cc52 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sun, 4 May 2025 01:32:33 -0700 Subject: fix build; fix test; update nixpkgs and crane Force-Push: yes Change-Id: Id2c8a43629f7da16fa8539df95c6e0f583d5c565 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 5c183b4..2dd5278 100644 --- a/src/main.rs +++ b/src/main.rs @@ -426,7 +426,7 @@ fn make_command_character_readtable() -> ReadTable { return Err(err_msg("Size to roll must be zero or more.".into())); } - let mut top_item = state.stack.pop().ok_or_else(|| err_msg( + let top_item = state.stack.pop().ok_or_else(|| err_msg( "Data underflow!".into()))?; let mut other_items = Vec::new(); -- cgit 1.4.1