Rollup merge of #116748 - scottmcm:oops-typo, r=fee1-dead
Fix a spot I wrote the wrong word I was reading this comment while I was looking at #116505, and it garden-path-sentence'd me, so fix that for people in the future.
This commit is contained in:
commit
23d8847ae9
@ -2848,7 +2848,7 @@ pub fn is_trivially_sized(self, tcx: TyCtxt<'tcx>) -> bool {
|
||||
/// 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