Fix some doc link (#10329)

* fix some doc link

* fmt
This commit is contained in:
Guillaume Thiolliere authored and GitHub committed 2021-11-22 10:48:53 +00:00
1 parent cac9d85cb3
commit fcfb766366
25 files changed
+52 -46

No files matched your search

@@ -130,7 +130,7 @@ impl<T, S> BoundedVec<T, S> {
self.0.retain(f)
}
/// Exactly the same semantics as [`Vec::get_mut`].
/// Exactly the same semantics as [`slice::get_mut`].
pub fn get_mut<I: SliceIndex<[T]>>(
&mut self,
index: I,
@@ -90,7 +90,7 @@ impl<T, S> WeakBoundedVec<T, S> {
self.0.retain(f)
}
/// Exactly the same semantics as [`Vec::get_mut`].
/// Exactly the same semantics as [`slice::get_mut`].
pub fn get_mut<I: SliceIndex<[T]>>(
&mut self,
index: I,