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:
Matthias Krüger 2023-10-15 11:37:24 +02:00 committed by GitHub
commit 23d8847ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {