Skip to content

Commit 4f94bbf

Browse files
committed
drive-by cleanup: fix outdated documentation
1 parent 07b7dc9 commit 4f94bbf

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
@@ -1456,7 +1456,7 @@ impl<'tcx> Ty<'tcx> {
14561456
}
14571457
}
14581458

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

0 commit comments

Comments
 (0)