@@ -262,7 +262,7 @@ impl<K, Q: ?Sized> super::Recover<Q> for BTreeMap<K, ()>
262
262
}
263
263
}
264
264
265
- /// An iterator over a BTreeMap's entries.
265
+ /// An iterator over a ` BTreeMap` 's entries.
266
266
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
267
267
pub struct Iter < ' a , K : ' a , V : ' a > {
268
268
range : Range < ' a , K , V > ,
@@ -276,15 +276,15 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for Iter<'a, K, V> {
276
276
}
277
277
}
278
278
279
- /// A mutable iterator over a BTreeMap's entries.
279
+ /// A mutable iterator over a ` BTreeMap` 's entries.
280
280
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
281
281
#[ derive( Debug ) ]
282
282
pub struct IterMut < ' a , K : ' a , V : ' a > {
283
283
range : RangeMut < ' a , K , V > ,
284
284
length : usize ,
285
285
}
286
286
287
- /// An owning iterator over a BTreeMap's entries.
287
+ /// An owning iterator over a ` BTreeMap` 's entries.
288
288
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
289
289
pub struct IntoIter < K , V > {
290
290
front : Handle < NodeRef < marker:: Owned , K , V , marker:: Leaf > , marker:: Edge > ,
@@ -303,7 +303,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for IntoIter<K, V> {
303
303
}
304
304
}
305
305
306
- /// An iterator over a BTreeMap's keys.
306
+ /// An iterator over a ` BTreeMap` 's keys.
307
307
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
308
308
pub struct Keys < ' a , K : ' a , V : ' a > {
309
309
inner : Iter < ' a , K , V > ,
@@ -316,7 +316,7 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for Keys<'a, K, V> {
316
316
}
317
317
}
318
318
319
- /// An iterator over a BTreeMap's values.
319
+ /// An iterator over a ` BTreeMap` 's values.
320
320
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
321
321
pub struct Values < ' a , K : ' a , V : ' a > {
322
322
inner : Iter < ' a , K , V > ,
@@ -329,14 +329,14 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for Values<'a, K, V>
329
329
}
330
330
}
331
331
332
- /// A mutable iterator over a BTreeMap's values.
332
+ /// A mutable iterator over a ` BTreeMap` 's values.
333
333
#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
334
334
#[ derive( Debug ) ]
335
335
pub struct ValuesMut < ' a , K : ' a , V : ' a > {
336
336
inner : IterMut < ' a , K , V > ,
337
337
}
338
338
339
- /// An iterator over a sub-range of BTreeMap's entries.
339
+ /// An iterator over a sub-range of ` BTreeMap` 's entries.
340
340
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
341
341
pub struct Range < ' a , K : ' a , V : ' a > {
342
342
front : Handle < NodeRef < marker:: Immut < ' a > , K , V , marker:: Leaf > , marker:: Edge > ,
@@ -350,7 +350,7 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for Range<'a, K, V>
350
350
}
351
351
}
352
352
353
- /// A mutable iterator over a sub-range of BTreeMap's entries.
353
+ /// A mutable iterator over a sub-range of ` BTreeMap` 's entries.
354
354
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
355
355
pub struct RangeMut < ' a , K : ' a , V : ' a > {
356
356
front : Handle < NodeRef < marker:: Mut < ' a > , K , V , marker:: Leaf > , marker:: Edge > ,
@@ -378,12 +378,12 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for RangeMut<'a, K,
378
378
/// [`entry`]: struct.BTreeMap.html#method.entry
379
379
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
380
380
pub enum Entry < ' a , K : ' a , V : ' a > {
381
- /// A vacant Entry
381
+ /// A vacant ` Entry`
382
382
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
383
383
Vacant ( #[ stable( feature = "rust1" , since = "1.0.0" ) ]
384
384
VacantEntry < ' a , K , V > ) ,
385
385
386
- /// An occupied Entry
386
+ /// An occupied ` Entry`
387
387
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
388
388
Occupied ( #[ stable( feature = "rust1" , since = "1.0.0" ) ]
389
389
OccupiedEntry < ' a , K , V > ) ,
@@ -403,7 +403,7 @@ impl<'a, K: 'a + Debug + Ord, V: 'a + Debug> Debug for Entry<'a, K, V> {
403
403
}
404
404
}
405
405
406
- /// A vacant Entry. It is part of the [`Entry`] enum.
406
+ /// A vacant ` Entry` . It is part of the [`Entry`] enum.
407
407
///
408
408
/// [`Entry`]: enum.Entry.html
409
409
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -425,7 +425,7 @@ impl<'a, K: 'a + Debug + Ord, V: 'a> Debug for VacantEntry<'a, K, V> {
425
425
}
426
426
}
427
427
428
- /// An occupied Entry. It is part of the [`Entry`] enum.
428
+ /// An occupied ` Entry` . It is part of the [`Entry`] enum.
429
429
///
430
430
/// [`Entry`]: enum.Entry.html
431
431
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
0 commit comments