Skip to content

Commit f4ed2da

Browse files
committed
Correct "debug_assertion" to "debug_assertions" to match the cfg
option that the rust debug assert macros use.
1 parent 733ef31 commit f4ed2da

File tree

1 file changed

+1
-1
lines changed
  • crates/ra_project_model/src

1 file changed

+1
-1
lines changed

crates/ra_project_model/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ fn get_rustc_cfg_options(target: Option<&str>) -> CfgOptions {
600600
Err(e) => log::error!("failed to get rustc cfgs: {:#}", e),
601601
}
602602

603-
cfg_options.insert_atom("debug_assertion".into());
603+
cfg_options.insert_atom("debug_assertions".into());
604604

605605
cfg_options
606606
}

0 commit comments

Comments
 (0)