rust/src/librustdoc/html
Jonas Schievink f74b223e19
Rollup merge of #79310 - jyn514:fold-item-cleanup, r=GuillaumeGomez
Make `fold_item_recur` non-nullable

This gets rid of a bunch of `unwrap()`s and makes it a little more clear
what's going on.

Originally I wanted to make `fold_item` non-nullable too, which would
have been a lot nicer to work with, but unfortunately `stripper` does
actually return `None` in some places. I might make a follow-up moving
stripper to be special and not a pass so that passes can be
non-nullable.

Found while working on https://github.com/rust-lang/rust/issues/76998.
2020-11-24 13:17:35 +01:00
..
highlight Add test to ensure that no DOS backline (\r\n) doesn't create extra backline in source rendering 2020-11-15 20:57:20 +01:00
markdown Auto merge of #73819 - euclio:rustdoc-summaries, r=jyn514,GuillaumeGomez 2020-09-03 19:07:38 +00:00
render add [src] links to methods on a trait's page 2020-11-18 22:10:10 +00:00
static Prevent feature information to be hidden if it's on the impl directly 2020-11-22 16:10:16 +01:00
toc Format the world 2019-12-22 17:42:47 -05:00
escape.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
format.rs Add from_def_id_and_kind reducing duplication in rustdoc 2020-11-17 15:16:03 -05:00
highlight.rs Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomez 2020-11-17 16:13:51 +01:00
layout.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
markdown.rs Simplfy color availability check 2020-11-17 10:33:14 +01:00
mod.rs Make markdown module public for doc-tests 2020-11-15 11:21:13 -05:00
sources.rs Make fold_item_recur non-nullable 2020-11-22 12:59:01 -05:00
static_files.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
toc.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00