Skip to content

Commit a9156e9

Browse files
committed
Fix typo
1 parent 1f94384 commit a9156e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/constness.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl<'a, 'tcx> TyCtxt<'a, 'tcx, 'tcx> {
2020
.iter()
2121
.any(|&(sym, _)| sym == feature_name),
2222
// 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
23+
// needs to use feature gates to use the function at all
2424
None => true,
2525
},
2626
// functions without stability are either stable user written const fn or the user is

0 commit comments

Comments
 (0)