Skip to content

Commit

Permalink
Rollup merge of rust-lang#77851 - exrook:split-btreemap, r=dtolnay
Browse files Browse the repository at this point in the history
BTreeMap: refactor Entry out of map.rs into its own file

btree/map.rs is approaching the 3000 line mark, splitting out the entry
code buys about 500 lines of headroom.

I've created this PR because the changes I've made in rust-lang#77438 will push `map.rs` over the 3000 line limit and cause tidy to complain.

I picked `Entry` to factor out because it feels less tightly coupled to the rest of `BTreeMap` than the various iterator implementations.

Related: rust-lang#60302
  • Loading branch information
JohnTitor authored Oct 16, 2020
2 parents ecff2d8 + 4b96049 commit 7766edb
Show file tree
Hide file tree
Showing 2 changed files with 480 additions and 468 deletions.
Loading

0 comments on commit 7766edb

Please sign in to comment.