Skip to content

Commit e2de111

Browse files
mark-i-mrajcspsg
andauthored
Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <[email protected]>
1 parent db9d5b9 commit e2de111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementing_new_feature.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The current version is not actually important – the important version is when
113113

114114
4. Prevent usage of the new feature unless the feature gate is set.
115115

116-
You can check it in most places in the compiler using the expression `tcx.features().$feature_name` (or `sess.features_untracked().borrow().$feature_name` if the tcx is unavailable)
116+
You can check it in most places in the compiler using the expression `tcx.features().$feature_name` (or `sess.features_untracked().borrow().$feature_name` if the tcx is unavailable)
117117

118118
If the feature gate is not set, you should either maintain the pre-feature behavior or raise an error, depending on what makes sense.
119119

0 commit comments

Comments
 (0)