about summary refs log tree commit diff
diff options
context:
space:
mode:
authormatthewjasper <20113453+matthewjasper@users.noreply.github.com>2019-12-24 19:56:20 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2019-12-25 09:13:15 +0000
commit0a14cbea98b5e047281b2bbaa241d60ec57d6ea1 (patch)
treec943b6d4406de6c269a55d868ddcb915c04332a8
parentf1758a043f068b2c15d8c30ad6962006d022539b (diff)
downloadrust-0a14cbea98b5e047281b2bbaa241d60ec57d6ea1.tar.gz
rust-0a14cbea98b5e047281b2bbaa241d60ec57d6ea1.zip
Use link in doc comment
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
-rw-r--r--src/librustc_mir/build/matches/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_mir/build/matches/mod.rs b/src/librustc_mir/build/matches/mod.rs
index e18dc296006..e611c2d504e 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(