Skip to content

Commit

Permalink
finished nightly clippy check
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Durrenberger committed Dec 12, 2024
1 parent a8280a3 commit dba3ef0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/wdk-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ const WDF_FUNCTION_COUNT_DECLARATION_EXTERNAL_SYMBOL: &str =
const WDF_FUNCTION_COUNT_DECLARATION_TABLE_INDEX: &str =
"crate::_WDFFUNCENUM::WdfFunctionTableNumEntries as usize";

const WDF_FUNCTION_COUNT_FUNCTION_TEMPLATE: LazyLock<String> = LazyLock::new(|| {
static WDF_FUNCTION_COUNT_FUNCTION_TEMPLATE: LazyLock<String> = LazyLock::new(|| {
format!(
r#"/// function to access the value of the number of functions in the WDF function table.
r"/// function to access the value of the number of functions in the WDF function table.
pub fn get_wdf_function_count() -> usize {{
{WDF_FUNCTION_COUNT_PLACEHOLDER}
}}"#
}}"
)
});

Expand Down

0 comments on commit dba3ef0

Please sign in to comment.