Skip to content

Commit 0839e94

Browse files
committed
auto merge of #14557 : zwarich/rust/missing-comment, r=alexcrichton
For some reason, I had this comment in my local tree but not in the branch I sent with the PR.
2 parents bcf3464 + 3bc76d2 commit 0839e94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/borrowck/check_loans.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,8 @@ impl<'a> CheckLoanCtxt<'a> {
638638
loan_path = match *loan_path {
639639
// Peel back one layer if, for `loan_path` to be
640640
// mutable, `lp_base` must be mutable. This occurs
641-
// with inherited mutability and with `&mut`
642-
// pointers.
641+
// with inherited mutability, owned pointers and
642+
// `&mut` pointers.
643643
LpExtend(ref lp_base, mc::McInherited, _) |
644644
LpExtend(ref lp_base, _, LpDeref(mc::OwnedPtr)) |
645645
LpExtend(ref lp_base, _, LpDeref(mc::GcPtr)) |

0 commit comments

Comments
 (0)