From 965f1d799c4b068d457cbf3b6a50192de7816a0c Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Thu, 5 Jun 2025 11:53:49 +0000 Subject: [PATCH] kata-ctl: Fix clippy `empty_line_after_outer_attr` Manually fix `empty_line_after_outer_attr` clippy warning reported by rust 1.85.1. ```console error: empty line after outer attribute --> src/check.rs:515:9 | 515 | / #[allow(dead_code)] 516 | | | |_^ 517 | struct TestData<'a> { | ------------------- the attribute applies to this struct | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr = note: `-D clippy::empty-line-after-outer-attr` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_outer_attr)]` = help: if the empty line is unintentional remove it ``` Signed-off-by: Ruoqing He --- src/tools/kata-ctl/src/check.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tools/kata-ctl/src/check.rs b/src/tools/kata-ctl/src/check.rs index 0d5e01dcc..a1cd0a99e 100644 --- a/src/tools/kata-ctl/src/check.rs +++ b/src/tools/kata-ctl/src/check.rs @@ -513,7 +513,6 @@ mod tests { #[test] fn check_module_loaded() { #[allow(dead_code)] - struct TestData<'a> { module_name: &'a str, param_name: &'a str,