Make Rc<T>::deref
and Arc<T>::deref
zero-cost by EFanZh · Pull Request #132553 · rust-lang/rust (original) (raw)
Alternatively, an approach to consider, if splitting horizontally isn’t feasible, you could split it vertically: Split it into a commit history of discrete, atomic steps progressing towards the goal of the PR. Even if it needs to be merged all at once, this can aid reviewing.
I know the Rust project prefers smaller PRs, though, so that should be preferred if possible, but the approaches could be combined.