提交 13ea9b87 编写于 作者: N Niko Matsakis

pacify the mercilous eddyb ;)

上级 c04563e1
......@@ -652,8 +652,10 @@ pub fn is_sized(&'tcx self,
/// Checks whether values of this type `T` implement the `Freeze`
/// trait -- frozen types are those that do not contain a
/// `UnsafeCell` anywhere. This is a language concept used to
/// determine how to handle `static` values, the trait itself is
/// not exposed to end users.
/// distinguish "true immutability", which is relevant to
/// optimization as well as the rules around static values. Note
/// that the `Freeze` trait is not exposed to end users and is
/// effectively an implementation detail.
pub fn is_freeze(&'tcx self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
param_env: ty::ParamEnv<'tcx>,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册