summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-core/src/movement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/movement.rs b/helix-core/src/movement.rs
index d6745fff..297911ae 100644
--- a/helix-core/src/movement.rs
+++ b/helix-core/src/movement.rs
@@ -199,7 +199,7 @@ fn categorize(ch: char) -> Category {
} else if ch.is_ascii_punctuation() {
Category::Punctuation
} else {
- unreachable!()
+ unreachable!("unknown '{}' character category", ch)
}
}