Skip to content

Commit 6e71fd7

Browse files
authored
chore: fix typo (#8292)
Co-Authored-By: kevaundray <kevtheappdev@gmail.com>
1 parent 5db1dff commit 6e71fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/types/src/fork_name.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl ForkName {
144144

145145
/// Return the name of the fork immediately prior to the current one.
146146
///
147-
/// If `self` is `ForkName::Base` then `Base` is returned.
147+
/// If `self` is `ForkName::Base` then `None` is returned.
148148
pub fn previous_fork(self) -> Option<ForkName> {
149149
match self {
150150
ForkName::Base => None,

0 commit comments

Comments
 (0)