diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-10-07 09:37:41 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-10-07 09:37:41 -0400 |
commit | 89722ebd6dcdc7067277050a431fbb7b9ea1dcf5 (patch) | |
tree | a23a5029b94e7ddec8d8ecdae0438f353cede71a /dichroism/src/error.rs | |
parent | 743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d (diff) | |
download | theglassyladies-89722ebd6dcdc7067277050a431fbb7b9ea1dcf5.tar.xz theglassyladies-89722ebd6dcdc7067277050a431fbb7b9ea1dcf5.zip |
sorted out image repo, error handling
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) } } + |