From 0a14cbea98b5e047281b2bbaa241d60ec57d6ea1 Mon Sep 17 00:00:00 2001 From: matthewjasper <20113453+matthewjasper@users.noreply.github.com> Date: Tue, 24 Dec 2019 19:56:20 +0000 Subject: [PATCH] Use link in doc comment Co-Authored-By: Mazdak Farrokhzad --- src/librustc_mir/build/matches/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustc_mir/build/matches/mod.rs b/src/librustc_mir/build/matches/mod.rs index e18dc2960066..e611c2d504e3 100644 --- a/src/librustc_mir/build/matches/mod.rs +++ b/src/librustc_mir/build/matches/mod.rs @@ -222,7 +222,8 @@ impl<'a, 'tcx> Builder<'a, 'tcx> { /// Lower the bindings, guards and arm bodies of a `match` expression. /// - /// The decision tree should have already been created (by lower_match_tree). + /// The decision tree should have already been created + /// (by [Builder::lower_match_tree]). /// /// `outer_source_info` is the SourceInfo for the whole match. fn lower_match_arms(