cleanup unneeded .into_iters() and stuff

This commit is contained in:
dawn 2026-01-17 10:25:22 +03:00
parent 553b566595
commit d1451a858d
No known key found for this signature in database
17 changed files with 82 additions and 146 deletions

View file

@ -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()
}