diff options
| author | krikera <prafulrai522@gmail.com> | 2025-06-01 19:20:33 +0530 |
|---|---|---|
| committer | krikera <prafulrai522@gmail.com> | 2025-06-01 19:20:33 +0530 |
| commit | 89dc07acb5b00ece97399c1c248e8db869b1f3fd (patch) | |
| tree | 4dae6c81c90af68fb761abc2f1429c4ea493225e | |
| parent | 466e0fb1549e6eeee1571579308268af58639b2a (diff) | |
| download | rust-89dc07acb5b00ece97399c1c248e8db869b1f3fd.tar.gz rust-89dc07acb5b00ece97399c1c248e8db869b1f3fd.zip | |
chore: fix smart quote in comment used by update_lints script
| -rw-r--r-- | clippy_dev/src/update_lints.rs | 4 | ||||
| -rw-r--r-- | clippy_lints/src/lib.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/clippy_dev/src/update_lints.rs b/clippy_dev/src/update_lints.rs index 320462a2c96..08592f2521f 100644 --- a/clippy_dev/src/update_lints.rs +++ b/clippy_dev/src/update_lints.rs @@ -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(); diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 92eb3d7a7c5..fde2e50e5ab 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -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; |
