From 7500b2f431bab81ec4183e9f7778e85743f45638 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Thu, 21 Dec 2023 21:17:05 +0100 Subject: [PATCH] fix: mock flash docs --- src/lib.rs | 1 + src/mock_flash.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6bd1eed..6659351 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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. diff --git a/src/mock_flash.rs b/src/mock_flash.rs index ffe82c6..84aeaba 100644 --- a/src/mock_flash.rs +++ b/src/mock_flash.rs @@ -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,