Skip to content

Commit ae42c91

Browse files
Fix typo
Co-authored-by: Randy Taylor <tehgecKozzz@gmail.com>
1 parent 3295c26 commit ae42c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trait_selection/traits/select/candidate_assembly.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
335335
// so creating `ImplCandidates` isn't useful. However, we might
336336
// end up finding a candidate elsewhere (e.g. a `BuiltinCandidate` for `Sized)
337337
// This helps us avoid overflow: see issue #72839
338-
// Since compilation is already guarnateed to fail, this is just
338+
// Since compilation is already guaranteed to fail, this is just
339339
// to try to show the 'nicest' possible errors to the user.
340340
if obligation.references_error() {
341341
return Ok(());

0 commit comments

Comments
 (0)