Skip to content

Commit

Permalink
Re-lint, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusGrass committed Sep 10, 2024
1 parent f1eb5a1 commit ce8465a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rustflags = [
# do not change or add/remove here, but one can add exceptions after this section
# for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
"-Dunsafe_code",
"-Wunexpected_cfgs",
"-Wclippy::all",
"-Wclippy::await_holding_lock",
"-Wclippy::char_lit_as_u8",
Expand Down Expand Up @@ -47,7 +48,6 @@ rustflags = [
"-Wclippy::match_wild_err_arm",
"-Wclippy::match_wildcard_for_single_variants",
"-Wclippy::mem_forget",
"-Wclippy::mismatched_target_os",
"-Wclippy::missing_enforced_import_renames",
"-Wclippy::mod_module_files",
"-Wclippy::mut_mut",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ implementation, now that that's stabilized.
- Update Embark lints
- Cap iterations at 5 billion
- Precompute, chunk, and batch setup values to reduce measurement error
- Update linting

## [0.3.0] - 2023-06-12

Expand Down
3 changes: 1 addition & 2 deletions tiny-bench/examples/time_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ use tiny_bench::Timeable;

pub fn main() {
let v = (0..100)
.map(|a| {
.inspect(|_a| {
my_expensive_call();
a
})
.timed()
.max();
Expand Down

0 comments on commit ce8465a

Please sign in to comment.