File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments