Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update docs
  • Loading branch information
shawntabrizi committed Aug 18, 2020
commit fce5f636c2dbf65b2f8ca75c6d371f2e7475a8a9
12 changes: 2 additions & 10 deletions frame/benchmarking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1019,16 +1019,8 @@ macro_rules! impl_benchmark_test {
/// ```
///
/// The `whitelist` is a parameter you pass to control the DB read/write tracking.
/// We use a vector of `TrackedStorageKey`, which is a simple struct used to set
/// if a key has been read or written to:
///
/// ```ignore
/// pub struct TrackedStorageKey {
/// pub key: Vec<u8>,
/// pub has_been_read: bool,
/// pub has_been_written: bool,
/// }
/// ```
/// We use a vector of [TrackedStorageKey](./struct.TrackedStorageKey.html), which is a simple struct used to set
/// if a key has been read or written to.
///
/// For values that should be skipped entirely, we can just pass `key.into()`. For example:
///
Expand Down