aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-29 22:58:47 +0000
committerFuwn <[email protected]>2021-03-29 22:58:47 +0000
commitfe24e4bdb62245cce9aadefb200db1a3a342c1d1 (patch)
tree1a49f750155dbf36f9854938a13e988b7ecf0dbd /src/server/shared.rs
parentformat: Refactor CLI, use pure `clap` instead of StructOpt (diff)
downloadwhirl-fe24e4bdb62245cce9aadefb200db1a3a342c1d1.tar.xz
whirl-fe24e4bdb62245cce9aadefb200db1a3a342c1d1.zip
format: Fix a few Clippy warnings
Diffstat (limited to 'src/server/shared.rs')
-rw-r--r--src/server/shared.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/shared.rs b/src/server/shared.rs
index d7ff6c9..9e01d3d 100644
--- a/src/server/shared.rs
+++ b/src/server/shared.rs
@@ -33,3 +33,8 @@ impl Shared {
// }
// }
}
+impl Default for Shared {
+ fn default() -> Self {
+ Self::new()
+ }
+}