Skip to content

Commit 00ce6d1

Browse files
committed
drive-by cleanup: fix outdated documentation
1 parent 4b55fe1 commit 00ce6d1

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/sty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ impl<'tcx> Ty<'tcx> {
14621462
}
14631463
}
14641464

1465-
/// Returns the type and mutability of `*ty`.
1465+
/// Returns the type of `*ty`.
14661466
///
14671467
/// The parameter `explicit` indicates if this is an *explicit* dereference.
14681468
/// Some types -- notably raw ptrs -- can only be dereferenced explicitly.

0 commit comments

Comments
 (0)