chore: replace smart quote with straight quote in update_lints comment (#14949)
changelog: [update_lints]: replaced a smart quote
This commit is contained in:
commit
a5a7eea0a2
2 changed files with 4 additions and 4 deletions
|
|
@ -73,8 +73,8 @@ pub fn generate_lint_files(
|
|||
(
|
||||
"clippy_lints/src/lib.rs",
|
||||
&mut update_text_region_fn(
|
||||
"// begin lints modules, do not remove this comment, it’s used in `update_lints`\n",
|
||||
"// end lints modules, do not remove this comment, it’s used in `update_lints`",
|
||||
"// begin lints modules, do not remove this comment, it's used in `update_lints`\n",
|
||||
"// end lints modules, do not remove this comment, it's used in `update_lints`",
|
||||
|dst| {
|
||||
for lint_mod in lints.iter().map(|l| &l.module).sorted().dedup() {
|
||||
writeln!(dst, "mod {lint_mod};").unwrap();
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ pub mod ctfe; // Very important lint, do not remove (rust#125116)
|
|||
pub mod declared_lints;
|
||||
pub mod deprecated_lints;
|
||||
|
||||
// begin lints modules, do not remove this comment, it’s used in `update_lints`
|
||||
// begin lints modules, do not remove this comment, it's used in `update_lints`
|
||||
mod absolute_paths;
|
||||
mod almost_complete_range;
|
||||
mod approx_const;
|
||||
|
|
@ -404,7 +404,7 @@ mod zero_div_zero;
|
|||
mod zero_repeat_side_effects;
|
||||
mod zero_sized_map_values;
|
||||
mod zombie_processes;
|
||||
// end lints modules, do not remove this comment, it’s used in `update_lints`
|
||||
// end lints modules, do not remove this comment, it's used in `update_lints`
|
||||
|
||||
use clippy_config::{Conf, get_configuration_metadata, sanitize_explanation};
|
||||
use clippy_utils::macros::FormatArgsStorage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue