Skip to content

Commit

Permalink
Small fix to code for checking feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreg authored and mark-i-m committed Mar 22, 2019
1 parent 07b4c15 commit c7d4e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/implementing_new_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ version is when you are stabilizing a feature.
4. Prevent usage of the new feature unless the feature gate is set.
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
`sess.features_untracked().$feature_name` if the
tcx is unavailable)

If the feature gate is not set, you should either maintain
Expand Down

0 comments on commit c7d4e2f

Please sign in to comment.