1
Fork 0

fix typo in docs and comments

This commit is contained in:
yuk1ty 2020-09-21 12:14:28 +09:00
parent 0f9f0b384a
commit 16047d46a1
8 changed files with 8 additions and 8 deletions

View file

@ -1843,7 +1843,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);