From f878d0dab96d687e10be8175f11647c415ee770a Mon Sep 17 00:00:00 2001 From: dragon-zhang Date: Sun, 26 Jan 2025 10:36:33 +0800 Subject: [PATCH 1/3] code polish --- hook/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/hook/src/lib.rs b/hook/src/lib.rs index 7dab9dda..9699e464 100644 --- a/hook/src/lib.rs +++ b/hook/src/lib.rs @@ -45,6 +45,7 @@ clippy::separated_literal_suffix, // conflicts with clippy::unseparated_literal_suffix clippy::single_char_lifetime_names, // TODO: change lifetime names clippy::test_attr_in_doctest, + linker_messages, )] #![doc = include_str!("../docs/en/hook.md")] From 5dbbc3e042161b56958e07f14b81cef30766d011 Mon Sep 17 00:00:00 2001 From: dragon-zhang Date: Sun, 26 Jan 2025 11:39:18 +0800 Subject: [PATCH 2/3] code polish --- hook/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/hook/src/lib.rs b/hook/src/lib.rs index 9699e464..4376dc4f 100644 --- a/hook/src/lib.rs +++ b/hook/src/lib.rs @@ -46,6 +46,7 @@ clippy::single_char_lifetime_names, // TODO: change lifetime names clippy::test_attr_in_doctest, linker_messages, + unknown_lints, )] #![doc = include_str!("../docs/en/hook.md")] From f4dc634574025281beeae7b0a46e0189746dbef0 Mon Sep 17 00:00:00 2001 From: dragon-zhang Date: Sun, 26 Jan 2025 13:37:54 +0800 Subject: [PATCH 3/3] code polish --- hook/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook/src/lib.rs b/hook/src/lib.rs index 4376dc4f..5f3bbc1d 100644 --- a/hook/src/lib.rs +++ b/hook/src/lib.rs @@ -45,8 +45,8 @@ clippy::separated_literal_suffix, // conflicts with clippy::unseparated_literal_suffix clippy::single_char_lifetime_names, // TODO: change lifetime names clippy::test_attr_in_doctest, - linker_messages, unknown_lints, + linker_messages, )] #![doc = include_str!("../docs/en/hook.md")]