Skip to content

Commit b1c3c63

Browse files
committed
Fix pretty-std test
1 parent cd68bd9 commit b1c3c63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/debuginfo/pretty-std.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
// cdb-command: dx vecdeque
139139
// cdb-check:vecdeque : { len=0x2 } [Type: alloc::collections::vec_deque::VecDeque<i32,alloc::alloc::Global>]
140140
// cdb-check: [<Raw View>] [Type: alloc::collections::vec_deque::VecDeque<i32,alloc::alloc::Global>]
141-
// cdb-check: [len] : 0x2
141+
// cdb-check: [len] : 0x2 [Type: unsigned [...]]
142142
// cdb-check: [capacity] : 0x8 [Type: unsigned [...]]
143143
// cdb-check: [0x0] : 90 [Type: int]
144144
// cdb-check: [0x1] : 20 [Type: int]
@@ -175,7 +175,7 @@ fn main() {
175175
linkedlist.push_front(128);
176176

177177
// VecDeque
178-
let mut vecdeque = VecDeque::new();
178+
let mut vecdeque = VecDeque::with_capacity(8);
179179
vecdeque.push_back(20);
180180
vecdeque.push_front(90);
181181

0 commit comments

Comments
 (0)