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 frame/support/src/lib.rs
Co-authored-by: Alexander Popiak <[email protected]>
  • Loading branch information
bkchr and apopiak authored Jun 11, 2020
commit c4c6c8d287b5440a0dcaf8ef6a21befa4a347c49
2 changes: 1 addition & 1 deletion frame/support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub enum Never {}
/// load the value from the storage under a fixed key. If the value could not be found in the
/// storage, the given default value will be returned. It is required that the value implements
/// [`Encode`](codec::Encode) and [`Decode`](codec::Decode). The key for looking up the value
/// in the storage is build using the following formular:
/// in the storage is built using the following formular:
///
/// `twox_128(":" ++ NAME ++ ":")` where `NAME` is the name that is passed as type name.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have each module at twox_128(modulename) indeed having : prefixed and suffixed allow their name not to collide. looks fine but I wonder what is best.

///
Expand Down