We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f94384 commit a9156e9Copy full SHA for a9156e9
src/librustc/ty/constness.rs
@@ -20,7 +20,7 @@ impl<'a, 'tcx> TyCtxt<'a, 'tcx, 'tcx> {
20
.iter()
21
.any(|&(sym, _)| sym == feature_name),
22
// the function has no stability attribute, it is stable as const fn or the user
23
- // nees to use feature gates to use the function at all
+ // needs to use feature gates to use the function at all
24
None => true,
25
},
26
// functions without stability are either stable user written const fn or the user is
0 commit comments