This commit is contained in:
bytedream 2023-12-08 23:04:04 +01:00
parent 9487dd3dbf
commit 6c7ab04b99
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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);