-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nits: Cleanups in librustdoc::clean
#134799
Conversation
This comment has been minimized.
This comment has been minimized.
8296675
to
f9cfc72
Compare
Apart from my comment (need to check if new condition is valid), looks good to me. Very nice to see less mutability. :) |
3ac793f
to
c9c044b
Compare
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE machinery cc @rust-lang/wg-const-eval Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri This PR modifies cc @jieyouxu This PR modifies If appropriate, please update
The Miri subtree was changed cc @rust-lang/miri These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred in src/tools/compiletest cc @jieyouxu Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 These commits modify compiler targets. Some changes occurred in src/tools/cargo cc @ehuss Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter cc @rust-lang/miri, @rust-lang/wg-const-eval |
This comment has been minimized.
This comment has been minimized.
- librustdoc::clean::clean_lifetime doesn't need a mut doc context - librustdoc::clean::normalize doesn't need a mut doc context - move Some() wrapping up into `clean_predicate()` - simplify nested if in librustdoc::clean::record_extern_fqn()
c9c044b
to
f5c4975
Compare
I'm sorry for the mess with the merge commits 😓 |
Thanks! @bors r+ rollup |
… r=GuillaumeGomez nits: Cleanups in `librustdoc::clean` r? `@GuillaumeGomez`
Rollup of 4 pull requests Successful merges: - rust-lang#122565 (Try to write the panic message with a single `write_all` call) - rust-lang#133460 (Use `check-run-results` for `run-fail` test stderr) - rust-lang#134627 (Avoid ICE in borrowck) - rust-lang#134799 (nits: Cleanups in `librustdoc::clean`) r? `@ghost` `@rustbot` modify labels: rollup
… r=GuillaumeGomez nits: Cleanups in `librustdoc::clean` r? ``@GuillaumeGomez``
Rollup of 3 pull requests Successful merges: - rust-lang#133460 (Use `check-run-results` for `run-fail` test stderr) - rust-lang#134627 (Avoid ICE in borrowck) - rust-lang#134799 (nits: Cleanups in `librustdoc::clean`) r? `@ghost` `@rustbot` modify labels: rollup
… r=GuillaumeGomez nits: Cleanups in `librustdoc::clean` r? ```@GuillaumeGomez```
Rollup of 5 pull requests Successful merges: - rust-lang#134799 (nits: Cleanups in `librustdoc::clean`) - rust-lang#134851 (docs: inline `alloc::ffi::c_str` types to `alloc::ffi`) - rust-lang#134869 (Bump compiler cc) - rust-lang#134876 (bootstrap: Consolidate the macros for declaring compiletest test suites) - rust-lang#134883 (bootstrap: Fix `./x check bootstrap` by moving `shared_helpers::tests`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#134799 - poliorcetics:ab/push-xuxotrnrtysz, r=GuillaumeGomez nits: Cleanups in `librustdoc::clean` r? ````@GuillaumeGomez````
r? @GuillaumeGomez