Skip to content

Commit a5a7eea

Browse files
authored
chore: replace smart quote with straight quote in update_lints comment (#14949)
changelog: [update_lints]: replaced a smart quote
2 parents 466e0fb + 89dc07a commit a5a7eea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clippy_dev/src/update_lints.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ pub fn generate_lint_files(
7373
(
7474
"clippy_lints/src/lib.rs",
7575
&mut update_text_region_fn(
76-
"// begin lints modules, do not remove this comment, its used in `update_lints`\n",
77-
"// end lints modules, do not remove this comment, its used in `update_lints`",
76+
"// begin lints modules, do not remove this comment, it's used in `update_lints`\n",
77+
"// end lints modules, do not remove this comment, it's used in `update_lints`",
7878
|dst| {
7979
for lint_mod in lints.iter().map(|l| &l.module).sorted().dedup() {
8080
writeln!(dst, "mod {lint_mod};").unwrap();

clippy_lints/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub mod ctfe; // Very important lint, do not remove (rust#125116)
6969
pub mod declared_lints;
7070
pub mod deprecated_lints;
7171

72-
// begin lints modules, do not remove this comment, its used in `update_lints`
72+
// begin lints modules, do not remove this comment, it's used in `update_lints`
7373
mod absolute_paths;
7474
mod almost_complete_range;
7575
mod approx_const;
@@ -404,7 +404,7 @@ mod zero_div_zero;
404404
mod zero_repeat_side_effects;
405405
mod zero_sized_map_values;
406406
mod zombie_processes;
407-
// end lints modules, do not remove this comment, its used in `update_lints`
407+
// end lints modules, do not remove this comment, it's used in `update_lints`
408408

409409
use clippy_config::{Conf, get_configuration_metadata, sanitize_explanation};
410410
use clippy_utils::macros::FormatArgsStorage;

0 commit comments

Comments
 (0)