Skip to content

Commit c7d4e2f

Browse files
Alexander Regueiromark-i-m
Alexander Regueiro
authored andcommitted
Small fix to code for checking feature gate
1 parent 07b4c15 commit c7d4e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementing_new_features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ version is when you are stabilizing a feature.
146146
4. Prevent usage of the new feature unless the feature gate is set.
147147
You can check it in most places in the compiler using the
148148
expression `tcx.features().$feature_name` (or
149-
`sess.features_untracked().borrow().$feature_name` if the
149+
`sess.features_untracked().$feature_name` if the
150150
tcx is unavailable)
151151

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

0 commit comments

Comments
 (0)