about summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-20 16:12:35 +0000
committerbors <bors@rust-lang.org>2020-11-20 16:12:35 +0000
commit593fe977a77ad5a7aec23c6cb0f86a3470221670 (patch)
tree60b0db4d2af9db796f7654aecb718e6ba87b8dfb /src/test/debuginfo
parentc9c57fadc47c8ad986808fc0a47479f6d2043453 (diff)
parent9fca57ceb9a976b54602f86440f7411a359ff0d1 (diff)
downloadrust-593fe977a77ad5a7aec23c6cb0f86a3470221670.tar.gz
rust-593fe977a77ad5a7aec23c6cb0f86a3470221670.zip
Auto merge of #78104 - ssomers:btree_root_redux, r=Mark-Simulacrum
BTreeMap: replace Root with NodeRef<Owned, ...>

`NodeRef<marker::Owned, …>` already exists as a representation of root nodes, and it makes more sense to alias `Root` to that than to reuse the space-efficient `BoxedNode` that is oblivious to height, where height is required.

r? `@Mark-Simulacrum`
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/pretty-std-collections.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debuginfo/pretty-std-collections.rs b/src/test/debuginfo/pretty-std-collections.rs
index 1adda813604..8026550882d 100644
--- a/src/test/debuginfo/pretty-std-collections.rs
+++ b/src/test/debuginfo/pretty-std-collections.rs
@@ -102,7 +102,7 @@ fn main() {
         btree_set.insert(i);
     }
 
-    let mut empty_btree_set: BTreeSet<i32> = BTreeSet::new();
+    let empty_btree_set: BTreeSet<i32> = BTreeSet::new();
 
     // BTreeMap
     let mut btree_map = BTreeMap::new();
@@ -110,7 +110,7 @@ fn main() {
         btree_map.insert(i, i);
     }
 
-    let mut empty_btree_map: BTreeMap<i32, u32> = BTreeMap::new();
+    let empty_btree_map: BTreeMap<i32, u32> = BTreeMap::new();
 
     let mut option_btree_map: BTreeMap<bool, Option<bool>> = BTreeMap::new();
     option_btree_map.insert(false, None);