rust/src/librustdoc
Michael Howell 28135b79d7 Remove redundant enableSearchInput function
enableSearchInput was called from two places:

- setupSearchLoader
- addSearchOptions, which is itself called from setupSearchLoader only

This commit can safely get rid of the addSearchOptions calls entirely,
and since the setupSearchLoader call is immediately preceded by other
method calls on search_input, there's no need to check if it's set.
2021-03-05 10:04:33 -07:00
..
clean Pass CrateNum by value instead of by reference 2021-03-03 20:07:15 -08:00
doctest Fix injected errors when running doctests on a crate named after a keyword 2021-02-11 17:16:43 -05:00
formats Remove krate.version; fix crate_version in JSON 2021-03-01 00:30:40 -05:00
html Remove redundant enableSearchInput function 2021-03-05 10:04:33 -07:00
json Remove krate.version; fix crate_version in JSON 2021-03-01 00:30:40 -05:00
passes Use cache access levels 2021-03-04 21:22:44 +01:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Always compile rustdoc with debug logging enabled when download-rustc is set 2021-02-28 22:01:45 -05:00
config.rs Rollup merge of #81223 - GuillaumeGomez:generate-redirect-map, r=jyn514 2021-03-03 16:27:38 +09:00
core.rs Rollup merge of #80527 - jyn514:rustdoc-lints, r=GuillaumeGomez 2021-03-04 20:01:01 +09:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Move lint machinery into a separate file 2021-03-01 19:29:15 -05:00
doctree.rs Move StructType to clean, remove it from Unions, make JSON output whether something is a union 2021-01-20 16:46:34 -05:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs Put clean::Trait extra information into a new struct to make it more coherent 2021-02-23 21:58:16 +01:00
lib.rs Rollup merge of #80527 - jyn514:rustdoc-lints, r=GuillaumeGomez 2021-03-04 20:01:01 +09:00
lint.rs Address review comments 2021-03-01 19:29:15 -05:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Replace under-used ImplPolarity enum with a boolean 2021-01-09 14:59:37 +01:00
visit_ast.rs Pass TyCtxt directly instead of DocContext in librustdoc::visit_ast::inherits_doc_hidden 2021-03-04 21:22:43 +01:00
visit_lib.rs Remove the dummy cache in DocContext 2021-03-01 00:30:30 -05:00

For more information about how librustdoc works, see the rustc dev guide.