More precise panic message
This commit is contained in:
parent
948f2672cc
commit
ee25553b99
@ -44,7 +44,7 @@ fn encode(value: &str) -> String {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
panic!("Not valid ASCII");
|
||||
panic!("Encountered an invalid ASCII character");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user