about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWaffle Lapkin <waffle.lapkin@gmail.com>2025-08-02 10:49:47 +0200
committerWaffle Lapkin <waffle.lapkin@gmail.com>2025-08-04 09:06:02 +0200
commit4f94bbf13d21c6707510ca4faa2cf90683fd1369 (patch)
tree0677eef2d316b8a665a44dda32f05f0a661030d1
parent07b7dc90ee4df5815dbb91ef8e98cb93571230f5 (diff)
downloadrust-4f94bbf13d21c6707510ca4faa2cf90683fd1369.tar.gz
rust-4f94bbf13d21c6707510ca4faa2cf90683fd1369.zip
drive-by cleanup: fix outdated documentation
-rw-r--r--compiler/rustc_middle/src/ty/sty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs
index 80607978861..72474a60566 100644
--- a/compiler/rustc_middle/src/ty/sty.rs
+++ b/compiler/rustc_middle/src/ty/sty.rs
@@ -1456,7 +1456,7 @@ impl<'tcx> Ty<'tcx> {
         }
     }
 
-    /// Returns the type and mutability of `*ty`.
+    /// Returns the type of `*ty`.
     ///
     /// The parameter `explicit` indicates if this is an *explicit* dereference.
     /// Some types -- notably raw ptrs -- can only be dereferenced explicitly.