drive-by cleanup: fix outdated documentation

This commit is contained in:
Waffle Lapkin 2025-08-02 10:49:47 +02:00
parent 07b7dc90ee
commit 4f94bbf13d
No known key found for this signature in database

View file

@ -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.