docs(dev): Access features as functions, not members
This was changed in #132027
This commit is contained in:
parent
aecde199ad
commit
5e92241b61
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ a new unstable feature:
|
|||
|
||||
1. 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`
|
||||
expression `tcx.features().$feature_name()`
|
||||
|
||||
If the feature gate is not set, you should either maintain
|
||||
the pre-feature behavior or raise an error, depending on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue