mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Lint
This commit is contained in:
parent
9487dd3dbf
commit
6c7ab04b99
2 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ pub async fn cli_entrypoint() {
|
||||||
|
|
||||||
ctrlc::set_handler(move || {
|
ctrlc::set_handler(move || {
|
||||||
debug!("Ctrl-c detected");
|
debug!("Ctrl-c detected");
|
||||||
if let Ok(dir) = fs::read_dir(&env::temp_dir()) {
|
if let Ok(dir) = fs::read_dir(env::temp_dir()) {
|
||||||
for file in dir.flatten() {
|
for file in dir.flatten() {
|
||||||
if file
|
if file
|
||||||
.path()
|
.path()
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@ impl Eq for SingleFormatCollectionEpisodeKey {}
|
||||||
|
|
||||||
struct SingleFormatCollectionSeasonKey((u32, String));
|
struct SingleFormatCollectionSeasonKey((u32, String));
|
||||||
|
|
||||||
#[allow(clippy::incorrect_partial_ord_impl_on_ord_type)]
|
#[allow(clippy::non_canonical_partial_ord_impl)]
|
||||||
impl PartialOrd for SingleFormatCollectionSeasonKey {
|
impl PartialOrd for SingleFormatCollectionSeasonKey {
|
||||||
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
|
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
|
||||||
let mut cmp = self.0 .0.partial_cmp(&other.0 .0);
|
let mut cmp = self.0 .0.partial_cmp(&other.0 .0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue