Skip to content

Commit

Permalink
fix linter complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
aneksteind committed Aug 29, 2023
1 parent c36931f commit 95ed4b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions c2rust-analyze/src/c_void_casts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ impl<'tcx> CVoidCasts<'tcx> {
tcx,
) {
self.find_and_insert_pred_cast(
body, c_void_ptr, direction, block, bb_data,
body, c_void_ptr, direction, bb_data,
);
}
}
Expand Down Expand Up @@ -508,7 +508,6 @@ impl<'tcx> CVoidCasts<'tcx> {
body: &Body<'tcx>,
c_void_ptr: CVoidPtr<'tcx>,
direction: CVoidCastDirection,
block: BasicBlock,
bb_data: &BasicBlockData<'tcx>,
) {
let mut inserted_places = HashSet::new();
Expand Down

0 comments on commit 95ed4b4

Please sign in to comment.