aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/commands.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-09-02 11:32:29 -0700
committerDaniel Mueller <deso@posteo.net>2019-09-02 11:32:29 -0700
commita475bd6ad711fa436f0f857951a30d8e6cf4d76d (patch)
tree16dea7df68aef3d205cd598c0646ca6b26b34001 /nitrocli/src/commands.rs
parent7e2adff71e293eef2570a6a8e43127bfab569cb3 (diff)
downloadnitrocli-a475bd6ad711fa436f0f857951a30d8e6cf4d76d.tar.gz
nitrocli-a475bd6ad711fa436f0f857951a30d8e6cf4d76d.tar.bz2
Bump required Rust version to 1.32
This change bumps the Rust version we require from 1.31 to 1.32. This version adds -- among other things -- support for Self struct constructors. Such support will be a requirement for an indirect (dev) dependency that we will require as part of an upcoming change.
Diffstat (limited to 'nitrocli/src/commands.rs')
-rw-r--r--nitrocli/src/commands.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/nitrocli/src/commands.rs b/nitrocli/src/commands.rs
index a046ec8..86a66df 100644
--- a/nitrocli/src/commands.rs
+++ b/nitrocli/src/commands.rs
@@ -938,11 +938,7 @@ pub fn pws_status(ctx: &mut args::ExecCtx<'_>, all: bool) -> Result<()> {
.get_slot_status()
.map_err(|err| get_error("Could not read PWS slot status", err))?;
println!(ctx, "slot\tname")?;
- for (i, &value) in slots
- .into_iter()
- .enumerate()
- .filter(|(_, &value)| all || value)
- {
+ for (i, &value) in slots.iter().enumerate().filter(|(_, &value)| all || value) {
print_pws_slot(ctx, &pws, i, value)?;
}
Ok(())