aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/prohibits_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/prohibits_command.rs')
-rw-r--r--crates/shirabe/src/command/prohibits_command.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/shirabe/src/command/prohibits_command.rs b/crates/shirabe/src/command/prohibits_command.rs
index 5e66c33..ddbf02a 100644
--- a/crates/shirabe/src/command/prohibits_command.rs
+++ b/crates/shirabe/src/command/prohibits_command.rs
@@ -27,6 +27,12 @@ pub struct ProhibitsCommand {
colors: Vec<String>,
}
+impl Default for ProhibitsCommand {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl ProhibitsCommand {
pub fn new() -> Self {
let mut command = ProhibitsCommand {