Improve comments
This commit is contained in:
@@ -109,7 +109,8 @@ impl Format {
|
||||
/// - There are at least 3 pages.
|
||||
/// - There are at most [`MAX_PAGE_INDEX`]` + 1` pages.
|
||||
/// - A word can be written at least twice between erase cycles.
|
||||
/// - A page can be erased at most [`MAX_ERASE_CYCLE`] times.
|
||||
/// - The maximum number of erase cycles (i.e. the maximum number of times a page can be erased)
|
||||
/// is at most [`MAX_ERASE_CYCLE`].
|
||||
///
|
||||
/// [`MAX_PAGE_SIZE`]: constant.MAX_PAGE_SIZE.html
|
||||
/// [`MAX_PAGE_INDEX`]: constant.MAX_PAGE_INDEX.html
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
//!
|
||||
//! The store provides the following _updates_:
|
||||
//! - Given a key and a value, `Insert` updates the store such that the value is
|
||||
//! associated with the key. The value for other keys are left unchanged.
|
||||
//! associated with the key. The values for other keys are left unchanged.
|
||||
//! - Given a key, `Remove` updates the store such that no value is associated for
|
||||
//! the key. The value for other keys are left unchanged. Additionally, if there
|
||||
//! the key. The values for other keys are left unchanged. Additionally, if there
|
||||
//! was a value associated with the key, the value is wiped from the storage
|
||||
//! (all its bits are set to 0).
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user