behzad nouri
528a03f32a
removes outdated matches crate from dependencies ( #33172 )
...
removes outdated matches crate from the dependencies
std::matches has been stable since rust 1.42.0.
Other use-cases are covered by assert_matches crate.
2023-09-07 12:52:57 +00:00
Ryo Onodera
4fe0812f3c
Make should_panic tests compatible with 1.73+ panic format ( #33099 )
...
* Adjust should_panic tests for 1.73+ panic format
* Update more panic format change affected tests...
2023-09-01 02:04:22 +00:00
Proph3t
ab8d3066a5
Improve poh.rs readability ( #30298 )
...
* chore: factor out variable hashes per tick to a constant
* chore: add units to `elapsed` in `compute_hashes_per_tick`
2023-04-03 12:12:41 -07:00
Brennan Watt
69c4db27c5
Configurable hashes per tick ( #29659 )
2023-01-11 16:56:11 -08:00
Brennan Watt
83b4c347b8
Remove unused ticks_per_slot variable ( #29279 )
2022-12-15 13:24:10 -08:00
behzad nouri
ba785cf8ab
removes erroneous uses of std::mem::swap ( #26536 )
...
All instances should be replace by std::mem::{replace,take},
or just plain assignment.
2022-07-11 11:33:15 +00:00
Michael Vines
b8837c04ec
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:19:13 -08:00
sakridge
7f2254225e
Move entry/poh to own crate to speed up poh bench build ( #18225 )
2021-07-14 14:16:29 +02:00