about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWho? Me?! <mark-i-m@users.noreply.github.com>2019-12-20 14:49:32 -0600
committerGitHub <noreply@github.com>2019-12-20 14:49:32 -0600
commit90ef197a6eb0287b85b054f94e53951dddc15576 (patch)
treee0ea7307a8d86ceee057c45538fd4aac83a9d0ac
parent4c7f5af42ac7e924ddbd66af91367578d2f35614 (diff)
downloadrust-90ef197a6eb0287b85b054f94e53951dddc15576.tar.gz
rust-90ef197a6eb0287b85b054f94e53951dddc15576.zip
Better comment
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
-rw-r--r--src/librustc_mir/borrow_check/region_infer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/borrow_check/region_infer/mod.rs b/src/librustc_mir/borrow_check/region_infer/mod.rs
index ca29b552733..dedc6b9b09a 100644
--- a/src/librustc_mir/borrow_check/region_infer/mod.rs
+++ b/src/librustc_mir/borrow_check/region_infer/mod.rs
@@ -1619,7 +1619,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
     }
 
     /// Attempt to propagate a region error (e.g. `'a: 'b`) that is not met to a closure's
-    /// creator. If we cannot, then we report an error to the user.
+    /// creator. If we cannot, then the caller should report an error to the user.
     ///
     /// Returns `true` if the error was propagated, and `false` otherwise.
     fn try_propagate_universal_region_error(