@@ -47,9 +47,9 @@ use UnderflowResult::*;
47
47
/// any other key, as determined by the [`Ord`] trait, changes while it is in the map. This is
48
48
/// normally only possible through [`Cell`], [`RefCell`], global state, I/O, or unsafe code.
49
49
///
50
- /// [`Ord`]: ../../std/ cmp/trait. Ord.html
51
- /// [`Cell`]: ../../std/ cell/struct. Cell.html
52
- /// [`RefCell`]: ../../std/ cell/struct. RefCell.html
50
+ /// [`Ord`]: core:: cmp:: Ord
51
+ /// [`Cell`]: core:: cell:: Cell
52
+ /// [`RefCell`]: core:: cell:: RefCell
53
53
///
54
54
/// # Examples
55
55
///
@@ -256,8 +256,7 @@ where
256
256
/// This `struct` is created by the [`iter`] method on [`BTreeMap`]. See its
257
257
/// documentation for more.
258
258
///
259
- /// [`iter`]: struct.BTreeMap.html#method.iter
260
- /// [`BTreeMap`]: struct.BTreeMap.html
259
+ /// [`iter`]: BTreeMap::iter
261
260
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
262
261
pub struct Iter < ' a , K : ' a , V : ' a > {
263
262
range : Range < ' a , K , V > ,
@@ -276,8 +275,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for Iter<'_, K, V> {
276
275
/// This `struct` is created by the [`iter_mut`] method on [`BTreeMap`]. See its
277
276
/// documentation for more.
278
277
///
279
- /// [`iter_mut`]: struct.BTreeMap.html#method.iter_mut
280
- /// [`BTreeMap`]: struct.BTreeMap.html
278
+ /// [`iter_mut`]: BTreeMap::iter_mut
281
279
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
282
280
#[ derive( Debug ) ]
283
281
pub struct IterMut < ' a , K : ' a , V : ' a > {
@@ -290,8 +288,7 @@ pub struct IterMut<'a, K: 'a, V: 'a> {
290
288
/// This `struct` is created by the [`into_iter`] method on [`BTreeMap`]
291
289
/// (provided by the `IntoIterator` trait). See its documentation for more.
292
290
///
293
- /// [`into_iter`]: struct.BTreeMap.html#method.into_iter
294
- /// [`BTreeMap`]: struct.BTreeMap.html
291
+ /// [`into_iter`]: IntoIterator::into_iter
295
292
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
296
293
pub struct IntoIter < K , V > {
297
294
front : Option < Handle < NodeRef < marker:: Owned , K , V , marker:: Leaf > , marker:: Edge > > ,
@@ -315,8 +312,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for IntoIter<K, V> {
315
312
/// This `struct` is created by the [`keys`] method on [`BTreeMap`]. See its
316
313
/// documentation for more.
317
314
///
318
- /// [`keys`]: struct.BTreeMap.html#method.keys
319
- /// [`BTreeMap`]: struct.BTreeMap.html
315
+ /// [`keys`]: BTreeMap::keys
320
316
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
321
317
pub struct Keys < ' a , K : ' a , V : ' a > {
322
318
inner : Iter < ' a , K , V > ,
@@ -334,8 +330,7 @@ impl<K: fmt::Debug, V> fmt::Debug for Keys<'_, K, V> {
334
330
/// This `struct` is created by the [`values`] method on [`BTreeMap`]. See its
335
331
/// documentation for more.
336
332
///
337
- /// [`values`]: struct.BTreeMap.html#method.values
338
- /// [`BTreeMap`]: struct.BTreeMap.html
333
+ /// [`values`]: BTreeMap::values
339
334
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
340
335
pub struct Values < ' a , K : ' a , V : ' a > {
341
336
inner : Iter < ' a , K , V > ,
@@ -353,8 +348,7 @@ impl<K, V: fmt::Debug> fmt::Debug for Values<'_, K, V> {
353
348
/// This `struct` is created by the [`values_mut`] method on [`BTreeMap`]. See its
354
349
/// documentation for more.
355
350
///
356
- /// [`values_mut`]: struct.BTreeMap.html#method.values_mut
357
- /// [`BTreeMap`]: struct.BTreeMap.html
351
+ /// [`values_mut`]: BTreeMap::values_mut
358
352
#[ stable( feature = "map_values_mut" , since = "1.10.0" ) ]
359
353
#[ derive( Debug ) ]
360
354
pub struct ValuesMut < ' a , K : ' a , V : ' a > {
@@ -366,8 +360,7 @@ pub struct ValuesMut<'a, K: 'a, V: 'a> {
366
360
/// This `struct` is created by the [`range`] method on [`BTreeMap`]. See its
367
361
/// documentation for more.
368
362
///
369
- /// [`range`]: struct.BTreeMap.html#method.range
370
- /// [`BTreeMap`]: struct.BTreeMap.html
363
+ /// [`range`]: BTreeMap::range
371
364
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
372
365
pub struct Range < ' a , K : ' a , V : ' a > {
373
366
front : Option < Handle < NodeRef < marker:: Immut < ' a > , K , V , marker:: Leaf > , marker:: Edge > > ,
@@ -386,8 +379,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for Range<'_, K, V> {
386
379
/// This `struct` is created by the [`range_mut`] method on [`BTreeMap`]. See its
387
380
/// documentation for more.
388
381
///
389
- /// [`range_mut`]: struct.BTreeMap.html#method.range_mut
390
- /// [`BTreeMap`]: struct.BTreeMap.html
382
+ /// [`range_mut`]: BTreeMap::range_mut
391
383
#[ stable( feature = "btree_range" , since = "1.17.0" ) ]
392
384
pub struct RangeMut < ' a , K : ' a , V : ' a > {
393
385
front : Option < Handle < NodeRef < marker:: Mut < ' a > , K , V , marker:: Leaf > , marker:: Edge > > ,
@@ -412,8 +404,7 @@ impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for RangeMut<'_, K, V> {
412
404
///
413
405
/// This `enum` is constructed from the [`entry`] method on [`BTreeMap`].
414
406
///
415
- /// [`BTreeMap`]: struct.BTreeMap.html
416
- /// [`entry`]: struct.BTreeMap.html#method.entry
407
+ /// [`entry`]: BTreeMap::entry
417
408
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
418
409
pub enum Entry < ' a , K : ' a , V : ' a > {
419
410
/// A vacant entry.
0 commit comments