Skip to content

Commit

Permalink
run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaumy committed Jan 11, 2024
1 parent 0db63b7 commit 1dcacb9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/perf_event/sampling/record/body/sample/weight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ impl Weight {
#[cfg(feature = "linux-5.12")]
WeightRepr::Full => Self::Full(raw.full),
#[cfg(feature = "linux-5.12")]
WeightRepr::Vars => {
Self::Vars {
var1_dw: raw.__bindgen_anon_1.var1_dw,
var2_w: raw.__bindgen_anon_1.var2_w,
var3_w: raw.__bindgen_anon_1.var3_w,
}
}
WeightRepr::Vars => Self::Vars {
var1_dw: raw.__bindgen_anon_1.var1_dw,
var2_w: raw.__bindgen_anon_1.var2_w,
var3_w: raw.__bindgen_anon_1.var3_w,
},
#[cfg(not(feature = "linux-5.12"))]
WeightRepr::Full => Self::Full(raw),
}
Expand Down

0 comments on commit 1dcacb9

Please sign in to comment.