Skip to content

Commit

Permalink
fix: mock flash docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Dec 21, 2023
1 parent ab84555 commit 7500b2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub mod map;
pub mod queue;

#[cfg(any(test, doctest, feature = "_test"))]
/// An in-memory flash type that can be used for mocking.
pub mod mock_flash;

/// The biggest wordsize we support.
Expand Down
1 change: 0 additions & 1 deletion src/mock_flash.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//! An in-memory flash type that can be used for mocking.
use core::ops::Range;
use embedded_storage::nor_flash::{
ErrorType, MultiwriteNorFlash, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash,
Expand Down

0 comments on commit 7500b2f

Please sign in to comment.