1
Fork 0

Rollup merge of #76994 - yuk1ty:fix-small-typo, r=estebank

fix small typo in docs and comments

Fixed `the the` to `the`, as far as I found.
This commit is contained in:
Dylan DPC 2020-09-23 14:54:07 +02:00 committed by GitHub
commit bcdbe79f0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View file

@ -672,7 +672,7 @@ fn binding_opaque_type_cycle_error(
) {
let mut err = struct_span_err!(tcx.sess, span, E0720, "cannot resolve opaque type");
err.span_label(span, "cannot resolve opaque type");
// Find the the owner that declared this `impl Trait` type.
// Find the owner that declared this `impl Trait` type.
let hir_id = tcx.hir().local_def_id_to_hir_id(def_id);
let mut prev_hir_id = hir_id;
let mut hir_id = tcx.hir().get_parent_node(hir_id);