Skip to content

Commit 90ef197

Browse files
Better comment
Co-Authored-By: matthewjasper <[email protected]>
1 parent 4c7f5af commit 90ef197

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_mir/borrow_check/region_infer

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/region_infer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
16191619
}
16201620

16211621
/// Attempt to propagate a region error (e.g. `'a: 'b`) that is not met to a closure's
1622-
/// creator. If we cannot, then we report an error to the user.
1622+
/// creator. If we cannot, then the caller should report an error to the user.
16231623
///
16241624
/// Returns `true` if the error was propagated, and `false` otherwise.
16251625
fn try_propagate_universal_region_error(

0 commit comments

Comments
 (0)