diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1c565eb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "rust-analyzer.check.command": "clippy" +} diff --git a/src/bot/commands/ics.rs b/src/bot/commands/ics.rs index 21e4e9b..a2427fd 100644 --- a/src/bot/commands/ics.rs +++ b/src/bot/commands/ics.rs @@ -62,7 +62,7 @@ impl Holiday { } /// University holidays that should be excluded from class schedules -const UNIVERSITY_HOLIDAYS: &[(&'static str, Holiday)] = &[ +const UNIVERSITY_HOLIDAYS: &[(&str, Holiday)] = &[ ("Labor Day", Holiday::Single { month: 9, day: 1 }), ( "Fall Break",