Consistently name `min_const_fn`

This commit is contained in:
Oliver Scherer 2019-12-12 10:11:18 +01:00
parent 83b8a561a1
commit 3abc7272dc
1 changed files with 2 additions and 2 deletions

View File

@ -104,11 +104,11 @@ impl<'tcx> TyCtxt<'tcx> {
// err on the "safe" side and require min_const_fn.
true
} else {
// Unstable functions need not conform to min const fn.
// Unstable functions need not conform to min_const_fn.
false
}
} else {
// Internal functions are forced to conform to min const fn.
// Internal functions are forced to conform to min_const_fn.
// Annotate the internal function with a const stability attribute if
// you need to use unstable features.
// Note: this is an arbitrary choice that does not affect stability or const