We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 805aecc + 7d5b788 commit 0befab2Copy full SHA for 0befab2
src/libcore/ops.rs
@@ -2484,13 +2484,13 @@ impl<'a, T: ?Sized> Deref for &'a mut T {
2484
/// impl<T> Deref for DerefMutExample<T> {
2485
/// type Target = T;
2486
///
2487
-/// fn deref<'a>(&'a self) -> &'a T {
+/// fn deref(&self) -> &T {
2488
/// &self.value
2489
/// }
2490
2491
2492
/// impl<T> DerefMut for DerefMutExample<T> {
2493
-/// fn deref_mut<'a>(&'a mut self) -> &'a mut T {
+/// fn deref_mut(&mut self) -> &mut T {
2494
/// &mut self.value
2495
2496
0 commit comments