fix typo in docs and comments
This commit is contained in:
parent
0f9f0b384a
commit
16047d46a1
8 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue