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 <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He 2025-06-05 11:53:49 +00:00
parent 3d64b11454
commit 965f1d799c

View File

@ -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,