Skip to content

Commit

Permalink
Upgrade to the latest nightly
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
  • Loading branch information
SUPERCILEX committed Oct 4, 2022
1 parent 005344f commit b9d89e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl<
self.root_num_files_hack.unwrap_or(0),
byte_counts_pool,
)
} else if self.bytes_exact.is_some_and(|b| *b > 0) {
} else if self.bytes_exact.is_some_and(|b| b > 0) {
self.queue_gen_internal(
file,
1,
Expand All @@ -237,7 +237,7 @@ impl<
}

fn uses_byte_counts_pool(&self) -> bool {
self.num_bytes_distr.is_some() && self.bytes_exact.is_some_and(|b| *b > 0)
self.num_bytes_distr.is_some() && self.bytes_exact.is_some_and(|b| b > 0)
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(is_some_with)]
#![feature(is_some_and)]
#![feature(const_trait_impl)]
#![feature(const_mut_refs)]
#![feature(let_chains)]
Expand Down

0 comments on commit b9d89e6

Please sign in to comment.