From 90ef197a6eb0287b85b054f94e53951dddc15576 Mon Sep 17 00:00:00 2001 From: Who? Me?! Date: Fri, 20 Dec 2019 14:49:32 -0600 Subject: [PATCH] Better comment Co-Authored-By: matthewjasper --- src/librustc_mir/borrow_check/region_infer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ fn check_universal_region_relation( } /// 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( -- GitLab