about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Moelius <35515885+smoelius@users.noreply.github.com>2025-07-27 08:55:33 -0400
committerGitHub <noreply@github.com>2025-07-27 08:55:33 -0400
commit9339d8cac3e6ea8c10ad11c581f8cfed5014d89e (patch)
tree1f47f69c9d0c9379409ff51c51eabf3110d00f96
parent887b500e2319c11f25284b0709f321209b687877 (diff)
downloadrust-9339d8cac3e6ea8c10ad11c581f8cfed5014d89e.tar.gz
rust-9339d8cac3e6ea8c10ad11c581f8cfed5014d89e.zip
Fix typo non_std_lazy_statics.rs
Changes `MaybeIncorret` to `MaybeIncorrect`.

And since this is part of a doc comment, it might as well be a link.

changelog: none
-rw-r--r--clippy_lints/src/non_std_lazy_statics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/non_std_lazy_statics.rs b/clippy_lints/src/non_std_lazy_statics.rs
index abee3c44c5a..7ecde40aee0 100644
--- a/clippy_lints/src/non_std_lazy_statics.rs
+++ b/clippy_lints/src/non_std_lazy_statics.rs
@@ -49,7 +49,7 @@ declare_clippy_lint! {
 /// Some functions could be replaced as well if we have replaced `Lazy` to `LazyLock`,
 /// therefore after suggesting replace the type, we need to make sure the function calls can be
 /// replaced, otherwise the suggestions cannot be applied thus the applicability should be
-/// `Unspecified` or `MaybeIncorret`.
+/// [`Applicability::Unspecified`] or [`Applicability::MaybeIncorrect`].
 static FUNCTION_REPLACEMENTS: &[(&str, Option<&str>)] = &[
     ("once_cell::sync::Lazy::force", Some("std::sync::LazyLock::force")),
     ("once_cell::sync::Lazy::get", None), // `std::sync::LazyLock::get` is experimental