Skip to content

Commit

Permalink
Fix a spot I wrote the wrong word
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed Oct 14, 2023
1 parent ee8c9d3 commit 5e572c7
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 5e572c7

Please sign in to comment.