mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-28 05:21:34 +00:00
rustfmt you bitch
This commit is contained in:
parent
8a8564d5bf
commit
c5440796fe
@ -767,7 +767,8 @@ fn default_frame_filter(frames: &mut Vec<&Frame>) {
|
||||
|
||||
let bottom_cutoff = frames
|
||||
.iter()
|
||||
.position(|x| x.is_runtime_init_code()).unwrap_or(frames.len());
|
||||
.position(|x| x.is_runtime_init_code())
|
||||
.unwrap_or(frames.len());
|
||||
|
||||
let rng = top_cutoff..=bottom_cutoff;
|
||||
frames.retain(|x| rng.contains(&x.n))
|
||||
|
Loading…
x
Reference in New Issue
Block a user