1
Fork 0

Fix rustdoc argument error

This commit is contained in:
Shivani Bhardwaj 2021-09-11 00:05:16 +05:30 committed by Guillaume Gomez
parent 7036449c77
commit e1b6f16fd4
3 changed files with 22 additions and 4 deletions

View file

@ -932,7 +932,7 @@ fn describe_codegen_flags() {
print_flag_list("-C", config::CG_OPTIONS);
}
fn print_flag_list<T>(
pub fn print_flag_list<T>(
cmdline_opt: &str,
flag_list: &[(&'static str, T, &'static str, &'static str)],
) {