parent
407b37c327
commit
6254720f53
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ fn categorize(ch: char) -> Category {
|
|||
} else if ch.is_ascii_punctuation() {
|
||||
Category::Punctuation
|
||||
} else {
|
||||
unreachable!()
|
||||
unreachable!("unknown '{}' character category", ch)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue