X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_mir%2Fborrow_check%2Fplaces_conflict.rs;h=b5175cf41dd5c6293d7ba989d40636ab58646ea9;hb=9a3e22e32f634014b02f13495aef3f0e8cdbb1b7;hp=cd33f22bf3cb7d73e15130383c255885e6ca156a;hpb=e917f8b53150978efede7e623b3ce8be5810bf2a;p=rust.git diff --git a/src/librustc_mir/borrow_check/places_conflict.rs b/src/librustc_mir/borrow_check/places_conflict.rs index cd33f22bf3c..b5175cf41dd 100644 --- a/src/librustc_mir/borrow_check/places_conflict.rs +++ b/src/librustc_mir/borrow_check/places_conflict.rs @@ -275,10 +275,10 @@ fn place_components_conflict<'gcx, 'tcx>( /// A linked list of places running up the stack; begins with the /// innermost place and extends to projections (e.g., `a.b` would have -/// the place `a` with a "next" pointer to `a.b`). Created by +/// the place `a` with a "next" pointer to `a.b`). Created by /// `unroll_place`. /// -/// N.B., this particular impl strategy is not the most obvious. It was +/// N.B., this particular impl strategy is not the most obvious. It was /// chosen because it makes a measurable difference to NLL /// performance, as this code (`borrow_conflicts_with_place`) is somewhat hot. struct PlaceComponents<'p, 'tcx: 'p> {