diff options
| author | bors <bors@rust-lang.org> | 2014-05-31 06:16:40 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-31 06:16:40 -0700 |
| commit | 0839e940a517fcf6cf8124b22399e75c31703e2c (patch) | |
| tree | 5c86a3a89d638f8807d1bed9063458d4dad46a9a | |
| parent | bcf3464827e7caebbbdb2404838fbb588cf304f0 (diff) | |
| parent | 3bc76d27ae8fd02667a337825127266c8f62c6a9 (diff) | |
| download | rust-0839e940a517fcf6cf8124b22399e75c31703e2c.tar.gz rust-0839e940a517fcf6cf8124b22399e75c31703e2c.zip | |
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.
| -rw-r--r-- | src/librustc/middle/borrowck/check_loans.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/middle/borrowck/check_loans.rs b/src/librustc/middle/borrowck/check_loans.rs index 140bfcd684a..235775c58f5 100644 --- a/src/librustc/middle/borrowck/check_loans.rs +++ b/src/librustc/middle/borrowck/check_loans.rs @@ -638,8 +638,8 @@ impl<'a> CheckLoanCtxt<'a> { loan_path = match *loan_path { // Peel back one layer if, for `loan_path` to be // mutable, `lp_base` must be mutable. This occurs - // with inherited mutability and with `&mut` - // pointers. + // with inherited mutability, owned pointers and + // `&mut` pointers. LpExtend(ref lp_base, mc::McInherited, _) | LpExtend(ref lp_base, _, LpDeref(mc::OwnedPtr)) | LpExtend(ref lp_base, _, LpDeref(mc::GcPtr)) | |
