summary refs log tree commit diff
path: root/src/librustc/session
diff options
context:
space:
mode:
authorAlexander Regueiro <alex@noldorin.com>2019-09-06 21:05:37 +0100
committerAlexander Regueiro <alexreg@me.com>2019-09-07 16:27:20 +0100
commitfd48ca20d366cff016cb0f9cfd8e98c44a91da10 (patch)
tree677c13f5211bb59450dba27b41fa2739fe254143 /src/librustc/session
parentc1d29ee3c754c63fc6c8c3a522b7a71a5a19616a (diff)
downloadrust-fd48ca20d366cff016cb0f9cfd8e98c44a91da10.tar.gz
rust-fd48ca20d366cff016cb0f9cfd8e98c44a91da10.zip
Apply suggestions from code review
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/librustc/session')
-rw-r--r--src/librustc/session/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 27a33ced119..c74b2fee41d 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -711,11 +711,11 @@ impl Passes {
 }
 
 /// Defines all `CodegenOptions`/`DebuggingOptions` fields and parsers all at once. The goal of this
-/// macro is to define an interface that can be programmatically used by the option parser in order
+/// macro is to define an interface that can be programmatically used by the option parser
 /// to initialize the struct without hardcoding field names all over the place.
 ///
 /// The goal is to invoke this macro once with the correct fields, and then this macro generates all
-/// necessary code. The main gotcha of this macro is the cgsetters module which is a bunch of
+/// necessary code. The main gotcha of this macro is the `cgsetters` module which is a bunch of
 /// generated code to parse an option into its respective field in the struct. There are a few
 /// hand-written parsers for parsing specific types of values in this module.
 macro_rules! options {