More precise panic message

This commit is contained in:
Kevin Cotugno 2018-03-21 20:33:19 -07:00
parent 948f2672cc
commit ee25553b99

View File

@ -44,7 +44,7 @@ fn encode(value: &str) -> String {
} }
} }
} else { } else {
panic!("Not valid ASCII"); panic!("Encountered an invalid ASCII character");
} }
} }