Skip to content

Commit

Permalink
Fix nit in rustc_session::options
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed May 2, 2021
1 parent 89ebad5 commit d5bda3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/options.rs
Expand Up @@ -286,7 +286,7 @@ macro_rules! options {

pub type $setter_name = fn(&mut $struct_name, v: Option<&str>) -> bool;
pub const $stat: &[(&str, $setter_name, &str, &str)] =
&[ $( (stringify!($opt), crate::options::parse::$opt, $crate::options::desc::$parse, $desc) ),* ];
&[ $( (stringify!($opt), $crate::options::parse::$opt, $crate::options::desc::$parse, $desc) ),* ];

// Sometimes different options need to build a common structure.
// That structure can kept in one of the options' fields, the others become dummy.
Expand Down

0 comments on commit d5bda3c

Please sign in to comment.