@@ -216,7 +216,8 @@ impl<T: Ord> BinaryHeap<T> {
216
216
/// # Examples
217
217
///
218
218
/// ```
219
- /// # #![feature(collections)]
219
+ /// #![feature(collections)]
220
+ ///
220
221
/// use std::collections::BinaryHeap;
221
222
/// let heap = BinaryHeap::from_vec(vec![9, 1, 2, 7, 3, 2]);
222
223
/// ```
@@ -236,7 +237,8 @@ impl<T: Ord> BinaryHeap<T> {
236
237
/// # Examples
237
238
///
238
239
/// ```
239
- /// # #![feature(collections)]
240
+ /// #![feature(collections)]
241
+ ///
240
242
/// use std::collections::BinaryHeap;
241
243
/// let heap = BinaryHeap::from_vec(vec![1, 2, 3, 4]);
242
244
///
@@ -341,7 +343,8 @@ impl<T: Ord> BinaryHeap<T> {
341
343
/// # Examples
342
344
///
343
345
/// ```
344
- /// # #![feature(collections)]
346
+ /// #![feature(collections)]
347
+ ///
345
348
/// use std::collections::BinaryHeap;
346
349
/// let mut heap = BinaryHeap::from_vec(vec![1, 3]);
347
350
///
@@ -387,7 +390,8 @@ impl<T: Ord> BinaryHeap<T> {
387
390
/// # Examples
388
391
///
389
392
/// ```
390
- /// # #![feature(collections)]
393
+ /// #![feature(collections)]
394
+ ///
391
395
/// use std::collections::BinaryHeap;
392
396
/// let mut heap = BinaryHeap::new();
393
397
/// heap.push(1);
@@ -419,7 +423,8 @@ impl<T: Ord> BinaryHeap<T> {
419
423
/// # Examples
420
424
///
421
425
/// ```
422
- /// # #![feature(collections)]
426
+ /// #![feature(collections)]
427
+ ///
423
428
/// use std::collections::BinaryHeap;
424
429
/// let mut heap = BinaryHeap::new();
425
430
///
@@ -445,7 +450,8 @@ impl<T: Ord> BinaryHeap<T> {
445
450
/// # Examples
446
451
///
447
452
/// ```
448
- /// # #![feature(collections)]
453
+ /// #![feature(collections)]
454
+ ///
449
455
/// use std::collections::BinaryHeap;
450
456
/// let heap = BinaryHeap::from_vec(vec![1, 2, 3, 4, 5, 6, 7]);
451
457
/// let vec = heap.into_vec();
@@ -463,7 +469,8 @@ impl<T: Ord> BinaryHeap<T> {
463
469
/// # Examples
464
470
///
465
471
/// ```
466
- /// # #![feature(collections)]
472
+ /// #![feature(collections)]
473
+ ///
467
474
/// use std::collections::BinaryHeap;
468
475
///
469
476
/// let mut heap = BinaryHeap::from_vec(vec![1, 2, 4, 5, 7]);
@@ -724,7 +731,8 @@ impl<T: Ord> IntoIterator for BinaryHeap<T> {
724
731
/// # Examples
725
732
///
726
733
/// ```
727
- /// # #![feature(collections)]
734
+ /// #![feature(collections)]
735
+ ///
728
736
/// use std::collections::BinaryHeap;
729
737
/// let heap = BinaryHeap::from_vec(vec![1, 2, 3, 4]);
730
738
///
0 commit comments