Skip to content

Commit

Permalink
adapted to cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Durrenberger committed Dec 5, 2024
1 parent 1f035a8 commit 31c883e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wdk-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const WDF_FUNCTION_COUNT_DECLARATION_TABLE_INDEX: &str = "
let wdf_function_count = crate::_WDFFUNCENUM::WdfFunctionTableNumEntries as usize;";

static WDF_FUNCTION_TABLE_TEMPLATE: LazyLock<String> = LazyLock::new(|| {
format!(r#"
format!(r"
extern crate alloc;
/// Struct to encapsulate a function table.
Expand Down Expand Up @@ -98,7 +98,7 @@ impl FunctionTable {{
/// Static instance of the function table to be used throughout generated code.
pub static WDF_FUNCTION_TABLE: FunctionTable = FunctionTable::new();
"#
"
)
});

Expand Down

0 comments on commit 31c883e

Please sign in to comment.