Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Remove overlong line
Browse files Browse the repository at this point in the history
  • Loading branch information
athei committed May 12, 2020
1 parent 570c6a0 commit eeb22fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion primitives/state-machine/src/overlayed_changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ impl OverlayedChanges {
/// Supplying `None` for `child_info` will only return changes that are in the top
/// trie. Specifying some `child_info` will return only the changes in that
/// child trie.
pub fn changes(&self, child_info: Option<&ChildInfo>) -> impl Iterator<Item=(&StorageKey, &OverlayedValue)> {
pub fn changes(&self, child_info: Option<&ChildInfo>)
-> impl Iterator<Item=(&StorageKey, &OverlayedValue)>
{
let (committed, prospective) = if let Some(child_info) = child_info {
match child_info.child_type() {
ChildType::ParentKeyId => (
Expand Down

0 comments on commit eeb22fa

Please sign in to comment.