Improved errors

This commit is contained in:
Timothy Clem 2020-06-18 14:43:27 -07:00
parent b6ae67a610
commit 17d26c0d5a
2 changed files with 10 additions and 1 deletions

View file

@ -83,7 +83,7 @@ impl<'a> From<tree_sitter_highlight::Error> for Error {
impl<'a> From<tree_sitter_tags::Error> for Error {
fn from(error: tree_sitter_tags::Error) -> Self {
Error::new(format!("{:?}", error))
Error::new(format!("{}", error))
}
}