Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Jan 11, 2025
1 parent 4bc3223 commit b0f23c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions substrate/frame/system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2403,6 +2403,7 @@ where
before_finalize: Box<dyn 'a + FnMut(BlockNumberFor<T>)>,
after_finalize: Box<dyn 'a + FnMut(BlockNumberFor<T>)>,
}

#[cfg(any(feature = "std", feature = "runtime-benchmarks", test))]
impl<'a, T> RunToBlockHooks<'a, T>
where
Expand Down Expand Up @@ -2441,6 +2442,7 @@ where
self
}
}

#[cfg(any(feature = "std", feature = "runtime-benchmarks", test))]
impl<'a, T> Default for RunToBlockHooks<'a, T>
where
Expand Down

0 comments on commit b0f23c5

Please sign in to comment.