diff options
Diffstat (limited to 'dichroism/src/error.rs')
-rw-r--r-- | dichroism/src/error.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dichroism/src/error.rs b/dichroism/src/error.rs index 5e00abc..17c0024 100644 --- a/dichroism/src/error.rs +++ b/dichroism/src/error.rs @@ -8,6 +8,7 @@ impl std::error::Error for DichroismError {} impl std::fmt::Display for DichroismError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - write!(f, "Dichroism Error: {}", self) + write!(f, "{}", self) } } + |