提交 4475ec86 编写于 作者: M Marijn Haverbeke

Fix misleading comment about type_is_pod

上级 56ec9cb2
......@@ -1159,7 +1159,8 @@ fn type_is_signed(cx: ctxt, ty: t) -> bool {
}
}
// Whether a type is Plain Old Data (i.e. can be safely memmoved).
// Whether a type is Plain Old Data -- meaning it does not contain pointers
// that the cycle collector might care about.
fn type_is_pod(cx: ctxt, ty: t) -> bool {
let result = true;
alt struct(cx, ty) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册