We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8c9d3 commit 5e572c7Copy full SHA for 5e572c7
compiler/rustc_middle/src/ty/sty.rs
@@ -2848,7 +2848,7 @@ impl<'tcx> Ty<'tcx> {
2848
/// Returning true means the type is known to be pure and `Copy+Clone`.
2849
/// Returning `false` means nothing -- could be `Copy`, might not be.
2850
///
2851
- /// This is mostly useful for optimizations, as there are the types
+ /// This is mostly useful for optimizations, as these are the types
2852
/// on which we can replace cloning with dereferencing.
2853
pub fn is_trivially_pure_clone_copy(self) -> bool {
2854
match self.kind() {
0 commit comments