mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
cleanup unneeded .into_iters() and stuff
This commit is contained in:
parent
553b566595
commit
d1451a858d
17 changed files with 82 additions and 146 deletions
|
|
@ -1,9 +1,8 @@
|
|||
use super::*;
|
||||
|
||||
pub fn cmds() -> impl Iterator<Item = Command> {
|
||||
pub fn cmds() -> impl IntoIterator<Item = Command> {
|
||||
[
|
||||
command!("import", Optional(Remainder(("url", OpaqueString))) => "import").flag(YES),
|
||||
command!("export" => "export"),
|
||||
]
|
||||
.into_iter()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue