summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-15 03:17:20 -0500
committerseth <[email protected]>2023-12-15 16:41:13 -0500
commit8d22f09089b13d013cf94526c205f374bdf873c3 (patch)
tree505c864e5683e6ece7d2ead2f9e019b8cc797548 /src/commands/mod.rs
parentebdcc85dc7c80796446535fa2799bb62f2c12aac (diff)
enable clippy::all, clippy::pedantic, & clippy::perf
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index df2d857..b20258c 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -6,10 +6,10 @@ use poise::Command;
mod general;
mod optional;
-pub fn to_global_commands() -> Vec<Command<Data, Report>> {
+pub fn global() -> Vec<Command<Data, Report>> {
general::to_comands()
}
-pub fn to_optional_commands() -> Vec<Command<Data, Report>> {
+pub fn optional() -> Vec<Command<Data, Report>> {
optional::to_commands()
}