about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorAlexander Regueiro <alex@noldorin.com>2019-03-21 23:29:17 +0000
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-03-22 15:50:31 -0500
commit51c36400abc68fb6fa8d80a434230bd0a2f7f8b5 (patch)
tree1d56a6809d81f79b170d3d0ca48b8850a9dc31c2 /src/doc/rustc-dev-guide
parenta6c3bf51a7a6041a9900f4f997ebe573b6209e1d (diff)
downloadrust-51c36400abc68fb6fa8d80a434230bd0a2f7f8b5.tar.gz
rust-51c36400abc68fb6fa8d80a434230bd0a2f7f8b5.zip
Small fix to code for checking feature gate
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/implementing_new_features.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/implementing_new_features.md b/src/doc/rustc-dev-guide/src/implementing_new_features.md
index 650d9915ce8..8105e1474a6 100644
--- a/src/doc/rustc-dev-guide/src/implementing_new_features.md
+++ b/src/doc/rustc-dev-guide/src/implementing_new_features.md
@@ -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