]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trait_selection/traits/select/candidate_assembly.rs
Fix typo
[rust.git] / src / librustc_trait_selection / traits / select / candidate_assembly.rs
index 2bd0acb3cc0f1e322b41ad0a662b4a489c178969..9045451056b1991d40965a24b3f7251bc48e09c3 100644 (file)
@@ -335,7 +335,7 @@ fn assemble_candidates_from_impls(
         // so creating `ImplCandidates` isn't useful. However, we might
         // end up finding a candidate elsewhere (e.g. a `BuiltinCandidate` for `Sized)
         // This helps us avoid overflow: see issue #72839
-        // Since compilation is already guarnateed to fail, this is just
+        // Since compilation is already guaranteed to fail, this is just
         // to try to show the 'nicest' possible errors to the user.
         if obligation.references_error() {
             return Ok(());