mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Fix a spot I wrote the wrong word
This commit is contained in:
parent
ee8c9d3c34
commit
5e572c7207
@ -2848,7 +2848,7 @@ impl<'tcx> Ty<'tcx> {
|
||||
/// Returning true means the type is known to be pure and `Copy+Clone`.
|
||||
/// Returning `false` means nothing -- could be `Copy`, might not be.
|
||||
///
|
||||
/// This is mostly useful for optimizations, as there are the types
|
||||
/// This is mostly useful for optimizations, as these are the types
|
||||
/// on which we can replace cloning with dereferencing.
|
||||
pub fn is_trivially_pure_clone_copy(self) -> bool {
|
||||
match self.kind() {
|
||||
|
Loading…
Reference in New Issue
Block a user