diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-12 10:11:18 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-13 11:27:02 +0100 |
| commit | 3abc7272dccf3acf9e66a57d492171e01e2bc16a (patch) | |
| tree | 1a07ba7df6f5351d5b6ab51bdd3b3f542201b71a | |
| parent | 83b8a561a1baf08f678c501de602369d3158f1ae (diff) | |
| download | rust-3abc7272dccf3acf9e66a57d492171e01e2bc16a.tar.gz rust-3abc7272dccf3acf9e66a57d492171e01e2bc16a.zip | |
Consistently name `min_const_fn`
| -rw-r--r-- | src/librustc/ty/constness.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ty/constness.rs b/src/librustc/ty/constness.rs index 4dcf4db3b8e..897a3678c40 100644 --- a/src/librustc/ty/constness.rs +++ b/src/librustc/ty/constness.rs @@ -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 |
