We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 887b500 + 9339d8c commit 4bfb6d3Copy full SHA for 4bfb6d3
clippy_lints/src/non_std_lazy_statics.rs
@@ -49,7 +49,7 @@ declare_clippy_lint! {
49
/// Some functions could be replaced as well if we have replaced `Lazy` to `LazyLock`,
50
/// therefore after suggesting replace the type, we need to make sure the function calls can be
51
/// replaced, otherwise the suggestions cannot be applied thus the applicability should be
52
-/// `Unspecified` or `MaybeIncorret`.
+/// [`Applicability::Unspecified`] or [`Applicability::MaybeIncorrect`].
53
static FUNCTION_REPLACEMENTS: &[(&str, Option<&str>)] = &[
54
("once_cell::sync::Lazy::force", Some("std::sync::LazyLock::force")),
55
("once_cell::sync::Lazy::get", None), // `std::sync::LazyLock::get` is experimental
0 commit comments