Skip to content

Commit ce0c449

Browse files
committed
Generalize branch references to HEAD
1 parent 7ec6593 commit ce0c449

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

book/src/development/infrastructure/changelog_update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ written for. If not, update the version to the changelog version.
112112

113113
[changelog]: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md
114114
[forge]: https://forge.rust-lang.org/
115-
[rust_master_tools]: https://github.com/rust-lang/rust/tree/master/src/tools/clippy
115+
[rust_master_tools]: https://github.com/rust-lang/rust/tree/HEAD/src/tools/clippy
116116
[rust_beta_tools]: https://github.com/rust-lang/rust/tree/beta/src/tools/clippy
117117
[rust_stable_tools]: https://github.com/rust-lang/rust/releases
118118
[`beta-accepted`]: https://github.com/rust-lang/rust-clippy/issues?q=label%3Abeta-accepted+

clippy_lints/src/disallowed_script_idents.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl_lint_pass!(DisallowedScriptIdents => [DISALLOWED_SCRIPT_IDENTS]);
6767
impl EarlyLintPass for DisallowedScriptIdents {
6868
fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &ast::Crate) {
6969
// Implementation is heavily inspired by the implementation of [`non_ascii_idents`] lint:
70-
// https://github.com/rust-lang/rust/blob/master/compiler/rustc_lint/src/non_ascii_idents.rs
70+
// https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_lint/src/non_ascii_idents.rs
7171

7272
let check_disallowed_script_idents = cx.builder.lint_level(DISALLOWED_SCRIPT_IDENTS).level != Level::Allow;
7373
if !check_disallowed_script_idents {

src/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extern crate rustc_interface;
1313
extern crate rustc_session;
1414
extern crate rustc_span;
1515

16-
// See docs in https://github.com/rust-lang/rust/blob/master/compiler/rustc/src/main.rs
16+
// See docs in https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc/src/main.rs
1717
// about jemalloc.
1818
#[cfg(feature = "jemalloc")]
1919
extern crate tikv_jemalloc_sys as jemalloc_sys;
@@ -189,7 +189,7 @@ const BUG_REPORT_URL: &str = "https://github.com/rust-lang/rust-clippy/issues/ne
189189

190190
#[expect(clippy::too_many_lines)]
191191
pub fn main() {
192-
// See docs in https://github.com/rust-lang/rust/blob/master/compiler/rustc/src/main.rs
192+
// See docs in https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc/src/main.rs
193193
// about jemalloc.
194194
#[cfg(feature = "jemalloc")]
195195
{

0 commit comments

Comments
 (0)