Skip to content

Commit 35a5065

Browse files
committed
pacify the mercilous tidy
1 parent c6a7c6f commit 35a5065

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/librustc/infer/canonical/query_result.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ impl<'cx, 'gcx, 'tcx> InferCtxt<'cx, 'gcx, 'tcx> {
220220
/// query. This is contrast to other parts of the compiler, which
221221
/// would prefer for those `QueryRegionConstraint` to be converted
222222
/// into the older infcx-style constraints (e.g., calls to
223-
/// [`sub_regions()`] or [`register_region_obligation()`]).
223+
/// `sub_regions` or `register_region_obligation`).
224224
///
225225
/// Therefore, `instantiate_nll_query_result_and_region_obligations` performs the same
226226
/// basic operations as `instantiate_query_result_and_region_obligations` but
@@ -241,9 +241,6 @@ impl<'cx, 'gcx, 'tcx> InferCtxt<'cx, 'gcx, 'tcx> {
241241
/// are propagated back in the return value.
242242
/// - Finally, the query result (of type `R`) is propagated back,
243243
/// after applying the substitution `S`.
244-
///
245-
/// [`register_region_obligation()`: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/infer/struct.InferCtxt.html#method.register_region_obligation
246-
/// [`sub_regions()`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/infer/struct.InferCtxt.html#method.sub_regions
247244
pub fn instantiate_nll_query_result_and_region_obligations<R>(
248245
&self,
249246
cause: &ObligationCause<'tcx>,

0 commit comments

Comments
 (0)