about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-04-04 19:20:00 +0200
committerGitHub <noreply@github.com>2021-04-04 19:20:00 +0200
commit6c135561830a4126d1ce2c4767c8388b3c57bc86 (patch)
treec4bc72beb9ce19207124054936f40f57b3f4951c /compiler/rustc_codegen_llvm/src
parent869726d335cff08c1673045a6566f1dca07b305a (diff)
parente7f340e19be8a4d50214c364aabb5577b6b38e9f (diff)
downloadrust-6c135561830a4126d1ce2c4767c8388b3c57bc86.tar.gz
rust-6c135561830a4126d1ce2c4767c8388b3c57bc86.zip
Rollup merge of #82726 - ssomers:btree_node_rearange, r=Mark-Simulacrum
BTree: move blocks around in node.rs

Without changing any names or implementation, reorder some members:
- Move down the ones defined long ago on the demised `struct Root`, to below the definition of their current host `struct NodeRef`.
- Move up some defined on `struct NodeRef` that are interspersed with those defined on `struct Handle`.
- Move up the `correct_…` methods squeezed between the two flavours of `push`.
- Move the unchecked static downcasts (`cast_to_…`) after the upcasts (`forget_`) and the (weirdly named) dynamic downcasts (`force`).
r? ````@Mark-Simulacrum````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions