summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-02-06 11:15:48 +0100
committerLaurenz <laurmaedje@gmail.com>2020-02-06 11:15:48 +0100
commit02dc29d18a7b67edf0eaa5d125be22eec6cfebb7 (patch)
tree2079ec1be481265655c798adc94d5e9e0166cfc2 /src/error.rs
parent751812f45141a7b2022d0dba138457f3c21950b0 (diff)
Highlight bold / italic / monospace 🎨
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 3a095eef..24b1b79c 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -22,6 +22,7 @@ pub struct Error {
/// How severe / important an error is.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize)]
+#[serde(rename_all = "camelCase")]
pub enum Severity {
/// Something in the code is not good.
Warning,