]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/opaque_types.rs
Rollup merge of #95495 - GuillaumeGomez:rm-unneeded-to-string, r=notriddle
[rust.git] / compiler / rustc_trait_selection / src / opaque_types.rs
index 06287f00faddb00c717c816f8808bb750aa1bf49..4b949ff8b95de3710ffd4fcd18fdf40d68f7122f 100644 (file)
@@ -139,7 +139,7 @@ fn fold_region(&mut self, r: ty::Region<'tcx>) -> ty::Region<'tcx> {
         match *r {
             // Ignore bound regions and `'static` regions that appear in the
             // type, we only need to remap regions that reference lifetimes
-            // from the function declaraion.
+            // from the function declaration.
             // This would ignore `'r` in a type like `for<'r> fn(&'r u32)`.
             ty::ReLateBound(..) | ty::ReStatic => return r,