@@ -153,7 +153,7 @@ pub impl <T:Ord> PriorityQueue<T> {
153
153
while pos > start {
154
154
let parent = ( pos - 1 ) >> 1 ;
155
155
if new > self . data [ parent] {
156
- let x = replace ( & mut self . data [ parent] , rusti :: uninit ( ) ) ;
156
+ let x = replace ( & mut self . data [ parent] , uninit ( ) ) ;
157
157
move_val_init ( & mut self . data [ pos] , x) ;
158
158
pos = parent;
159
159
loop
@@ -172,7 +172,7 @@ pub impl <T:Ord> PriorityQueue<T> {
172
172
while pos > start {
173
173
let parent = ( pos - 1 ) >> 1 ;
174
174
if new > self . data [ parent] {
175
- let x = replace ( & mut self . data [ parent] , rusti :: init ( ) ) ;
175
+ let x = replace ( & mut self . data [ parent] , init ( ) ) ;
176
176
move_val_init ( & mut self . data [ pos] , x) ;
177
177
pos = parent;
178
178
loop
@@ -196,7 +196,7 @@ pub impl <T:Ord> PriorityQueue<T> {
196
196
if right < end && !( self . data [ child] > self . data [ right] ) {
197
197
child = right;
198
198
}
199
- let x = replace ( & mut self . data [ child] , rusti :: uninit ( ) ) ;
199
+ let x = replace ( & mut self . data [ child] , uninit ( ) ) ;
200
200
move_val_init ( & mut self . data [ pos] , x) ;
201
201
pos = child;
202
202
child = 2 * pos + 1 ;
@@ -219,7 +219,7 @@ pub impl <T:Ord> PriorityQueue<T> {
219
219
if right < end && !( self . data [ child] > self . data [ right] ) {
220
220
child = right;
221
221
}
222
- let x = replace ( & mut self . data [ child] , rusti :: init ( ) ) ;
222
+ let x = replace ( & mut self . data [ child] , init ( ) ) ;
223
223
move_val_init ( & mut self . data [ pos] , x) ;
224
224
pos = child;
225
225
child = 2 * pos + 1 ;
0 commit comments