Browse Source

rm couonter

fix-typo
Coin de Gamma 3 months ago
parent
commit
83dd5c3b83
  1. 6
      src/main.rs

6
src/main.rs

@ -144,13 +144,13 @@ impl MPS {
fn list(&mut self) -> io:: Result<()> {
self.login()?;
let ids = self.storage.as_ref().unwrap().ids();
let mut counter = 1;
// let mut counter = 1;
if ids.len() == 0 {
println!("No items");
} else {
for id in ids {
println!("[{}] {}", counter, id);
counter += 1;
println!("{}", id);
//counter += 1;
}
}
Ok(())

Loading…
Cancel
Save