Skip to content

Commit 23d8847

Browse files
authoredOct 15, 2023
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.
2 parents fb1f8dd + 5e572c7 commit 23d8847

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2848,7 +2848,7 @@ impl<'tcx> Ty<'tcx> {
28482848
/// Returning true means the type is known to be pure and `Copy+Clone`.
28492849
/// Returning `false` means nothing -- could be `Copy`, might not be.
28502850
///
2851-
/// This is mostly useful for optimizations, as there are the types
2851+
/// This is mostly useful for optimizations, as these are the types
28522852
/// on which we can replace cloning with dereferencing.
28532853
pub fn is_trivially_pure_clone_copy(self) -> bool {
28542854
match self.kind() {

0 commit comments

Comments
 (0)
Please sign in to comment.