File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -408,19 +408,22 @@ fn map_to_line_items<'a>(
408408 let section = if has_tags ( o, & [ "C-future-compatibility" ] ) {
409409 "Compatibility Notes"
410410 } else if has_tags ( o, & [ "T-libs" , "T-libs-api" ] ) {
411- "Library "
411+ "Libraries "
412412 } else if has_tags ( o, & [ "T-lang" ] ) {
413413 "Language"
414414 } else if has_tags ( o, & [ "T-compiler" ] ) {
415415 "Compiler"
416416 } else {
417417 "Other"
418418 } ;
419- by_section. get_mut ( section) . unwrap ( ) . push_str ( & format ! (
420- "- [{title}]({url}/)\n " ,
421- title = o[ "title" ] . as_str( ) . unwrap( ) ,
422- url = o[ "url" ] . as_str( ) . unwrap( ) ,
423- ) ) ;
419+ by_section
420+ . get_mut ( section)
421+ . expect ( section)
422+ . push_str ( & format ! (
423+ "- [{title}]({url}/)\n " ,
424+ title = o[ "title" ] . as_str( ) . unwrap( ) ,
425+ url = o[ "url" ] . as_str( ) . unwrap( ) ,
426+ ) ) ;
424427 }
425428}
426429
You can’t perform that action at this time.
0 commit comments