pacify the mercilous eddyb ;)
This commit is contained in:
parent
c04563e1b0
commit
13ea9b877c
1 changed files with 4 additions and 2 deletions
|
@ -652,8 +652,10 @@ impl<'a, 'tcx> ty::TyS<'tcx> {
|
||||||
/// Checks whether values of this type `T` implement the `Freeze`
|
/// Checks whether values of this type `T` implement the `Freeze`
|
||||||
/// trait -- frozen types are those that do not contain a
|
/// trait -- frozen types are those that do not contain a
|
||||||
/// `UnsafeCell` anywhere. This is a language concept used to
|
/// `UnsafeCell` anywhere. This is a language concept used to
|
||||||
/// determine how to handle `static` values, the trait itself is
|
/// distinguish "true immutability", which is relevant to
|
||||||
/// not exposed to end users.
|
/// 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,
|
pub fn is_freeze(&'tcx self,
|
||||||
tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
||||||
param_env: ty::ParamEnv<'tcx>,
|
param_env: ty::ParamEnv<'tcx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue