about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librustc/ty/constness.rs4
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