Skip to content

Commit c9fc725

Browse files
bors[bot]woody77
andauthored
Merge #4824
4824: Correct "debug_assertion" to "debug_assertions" to match the cfg that the rust debug assert macros use. r=matklad a=woody77 This is for #4823. Co-authored-by: Aaron Wood <aaronwood@google.com>
2 parents ba821af + f4ed2da commit c9fc725

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
@@ -594,7 +594,7 @@ fn get_rustc_cfg_options(target: Option<&str>) -> CfgOptions {
594594
Err(e) => log::error!("failed to get rustc cfgs: {:#}", e),
595595
}
596596

597-
cfg_options.insert_atom("debug_assertion".into());
597+
cfg_options.insert_atom("debug_assertions".into());
598598

599599
cfg_options
600600
}

0 commit comments

Comments
 (0)