Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #13148 - xFrednet:lintcheck-link-correction-again, r=Al…
…exendoo Lintcheck: Support underscores replacement in URL crate names The generated URLs use `{krate}` for the crate name. This works well for the first part of the docs.rs domain, but the second part is actually the root module, which requires a replacement of all dashes with underscores. This PR adds `{krate_}` for the root module name. Diff: ```diff Removed `clippy::needless_borrows_for_generic_args` in `rustls-pemfile` at -https://docs.rs/rustls-pemfile/2.1.2/src/rustls-pemfile/pemfile.rs.html#194 +https://docs.rs/rustls-pemfile/2.1.2/src/rustls_pemfile/pemfile.rs.html#194 ``` > Example before: https://github.com/xFrednet/rust-clippy/actions/runs/10054236377?pr=4 > Example after: https://github.com/xFrednet/rust-clippy/actions/runs/10054878594?pr=4 --- changelog: none r? `@Alexendoo`
- Loading branch information