Bump structopt from 0.3.23 to 0.3.25 (#10253)

* Bump structopt from 0.3.23 to 0.3.25

Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25)

---
updated-dependencies:
- dependency-name: structopt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* cargo fmt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
dependabot[bot]
2021-11-13 02:35:07 +00:00
committed by GitHub
parent 423cde8ad0
commit bae12f41b8
20 changed files with 28 additions and 28 deletions
@@ -712,7 +712,7 @@ impl Notifications {
timer: delay_id,
timer_deadline: *backoff,
};
}
},
// Disabled => Enabled
PeerState::Disabled { mut connections, backoff_until } => {
@@ -2085,7 +2085,7 @@ impl NetworkBehaviour for Notifications {
.boxed(),
);
}
}
},
// We intentionally never remove elements from `delays`, and it may
// thus contain obsolete entries. This is a normal situation.
@@ -203,7 +203,7 @@ impl<B: BlockT> BlockCollection<B> {
{
*downloading -= 1;
false
}
},
Some(&mut BlockRangeState::Downloading { .. }) => true,
_ => false,
};