about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-06-05 18:57:17 -0400
committerGitHub <noreply@github.com>2020-06-05 18:57:17 -0400
commitae42c91c6517517e831b12e0f4a98d538b4a19b5 (patch)
treedc643ef5ae335103290647db79d246ae332c7351
parent3295c262aea18f64b80734989ab522e1278a9d14 (diff)
downloadrust-ae42c91c6517517e831b12e0f4a98d538b4a19b5.tar.gz
rust-ae42c91c6517517e831b12e0f4a98d538b4a19b5.zip
Fix typo
Co-authored-by: Randy Taylor <tehgecKozzz@gmail.com>
-rw-r--r--src/librustc_trait_selection/traits/select/candidate_assembly.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trait_selection/traits/select/candidate_assembly.rs b/src/librustc_trait_selection/traits/select/candidate_assembly.rs
index 2bd0acb3cc0..9045451056b 100644
--- a/src/librustc_trait_selection/traits/select/candidate_assembly.rs
+++ b/src/librustc_trait_selection/traits/select/candidate_assembly.rs
@@ -335,7 +335,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
         // 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(());