提交 3bc76d27 编写于 作者: C Cameron Zwarich

Add a comment missing from 5aff0e7c

For some reason, I had this comment in my local tree but not in the
branch I sent with the PR.
上级 cc451320
......@@ -638,8 +638,8 @@ fn check_for_assignment_to_restricted_or_frozen_location(
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)) |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册