Skip to content

Commit

Permalink
corrected formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Durrenberger committed Dec 5, 2024
1 parent fea4dfb commit 1f035a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ cfg-if = "1.0.0"
clap = "4.5.9"
clap-cargo = "0.14.1"
itertools = "0.13.0"
once_cell = { version = "1.20.2", default-features = false, features = ["alloc"] }
once_cell = { version = "1.20.2", default-features = false, features = [
"alloc",
] }
paste = "1.0.15"
pretty_assertions = "1.4.0"
proc-macro2 = "1.0.86"
Expand Down
4 changes: 2 additions & 2 deletions crates/wdk-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ 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#"extern crate alloc;
format!(r#"
extern crate alloc;
/// Struct to encapsulate a function table.
/// Lazily initializes on access via index operation.
Expand Down

0 comments on commit 1f035a8

Please sign in to comment.