Skip to content

Commit 3abc727

Browse files
committed
Consistently name min_const_fn
1 parent 83b8a56 commit 3abc727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/ty/constness.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ impl<'tcx> TyCtxt<'tcx> {
104104
// err on the "safe" side and require min_const_fn.
105105
true
106106
} else {
107-
// Unstable functions need not conform to min const fn.
107+
// Unstable functions need not conform to min_const_fn.
108108
false
109109
}
110110
} else {
111-
// Internal functions are forced to conform to min const fn.
111+
// Internal functions are forced to conform to min_const_fn.
112112
// Annotate the internal function with a const stability attribute if
113113
// you need to use unstable features.
114114
// Note: this is an arbitrary choice that does not affect stability or const

0 commit comments

Comments
 (0)