From ae42c91c6517517e831b12e0f4a98d538b4a19b5 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Fri, 5 Jun 2020 18:57:17 -0400 Subject: [PATCH] Fix typo Co-authored-by: Randy Taylor --- .../traits/select/candidate_assembly.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(());