summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a5551c77..b1408f4a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -133,8 +133,8 @@ pub enum TypesetError {
error_type! {
err: TypesetError,
show: f => match err {
- TypesetError::Parse(e) => write!(f, "parse error: {}", e),
- TypesetError::Layout(e) => write!(f, "layout error: {}", e),
+ TypesetError::Parse(e) => write!(f, "{}", e),
+ TypesetError::Layout(e) => write!(f, "{}", e),
},
source: match err {
TypesetError::Parse(e) => Some(e),