]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/region_infer/mod.rs
compiler: fix some typos
[rust.git] / compiler / rustc_borrowck / src / region_infer / mod.rs
index 3f0ce7dea00fb0a81f08da36caa217300e21771e..fa9fe905256f5ac6daf84d49b27ebf43583b238d 100644 (file)
@@ -1992,7 +1992,7 @@ fn check_member_constraints(
             .find_map(|constraint| {
                 if let ConstraintCategory::Predicate(predicate_span) = constraint.category {
                     // We currentl'y doesn't store the `DefId` in the `ConstraintCategory`
-                    // for perforamnce reasons. The error reporting code used by NLL only
+                    // for performances reasons. The error reporting code used by NLL only
                     // uses the span, so this doesn't cause any problems at the moment.
                     Some(ObligationCauseCode::BindingObligation(
                         CRATE_DEF_ID.to_def_id(),