Skip to content

Commit c734d17

Browse files
authored
Merge pull request #5 from glaeqen/master
Fully qualify `MaybeUninit` type
2 parents 0d68027 + 3618a0f commit c734d17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Implement a [CMSIS-Pack] flash algorithm in Rust
2-
//!
2+
//!
33
//! [CMSIS-Pack]: https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/flashAlgorithm.html
4-
//!
4+
//!
55
//! # Feature flags
6-
//!
6+
//!
77
//! - `panic-handler` this is enabled by default and includes a simple abort-on-panic
88
//! panic handler. Disable this feature flag if you would prefer to use a different
99
//! handler.
@@ -85,7 +85,7 @@ macro_rules! algorithm {
8585
}),+]
8686
}) => {
8787
static mut _IS_INIT: bool = false;
88-
static mut _ALGO_INSTANCE: MaybeUninit<$type> = MaybeUninit::uninit();
88+
static mut _ALGO_INSTANCE: core::mem::MaybeUninit<$type> = core::mem::MaybeUninit::uninit();
8989

9090
#[no_mangle]
9191
#[link_section = ".entry"]

0 commit comments

Comments
 (0)