Skip to content

Commit

Permalink
Unrolled build for rust-lang#116748
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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 rust-lang#116505, and it garden-path-sentence'd me, so fix that for people in the future.
  • Loading branch information
rust-timer committed Oct 15, 2023
2 parents ab73de7 + 5e572c7 commit e9a7028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/sty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e9a7028

Please sign in to comment.