about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorWho? Me?! <mark-i-m@users.noreply.github.com>2019-02-20 12:57:26 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-02-23 18:12:58 -0600
commitef2e724354af9ba04fabcaad2b3a822e0eb85f64 (patch)
tree360a4add32ecaf37ad0b8042f5526a132a12f0f3 /src/doc/rustc-dev-guide
parent9bca4aa39b39cddfa829fce08131fb0b12bf6a7a (diff)
Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/implementing_new_feature.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/implementing_new_feature.md b/src/doc/rustc-dev-guide/src/implementing_new_feature.md
index d787954da34..20c250527bc 100644
--- a/src/doc/rustc-dev-guide/src/implementing_new_feature.md
+++ b/src/doc/rustc-dev-guide/src/implementing_new_feature.md
@@ -113,7 +113,7 @@ The current version is not actually important – the important version is when
 
 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 tcx is unavailable)
+    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)
 
 If the feature gate is not set, you should either maintain the pre-feature behavior or raise an error, depending on what makes sense.