We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5db1dff commit 6e71fd7Copy full SHA for 6e71fd7
consensus/types/src/fork_name.rs
@@ -144,7 +144,7 @@ impl ForkName {
144
145
/// Return the name of the fork immediately prior to the current one.
146
///
147
- /// If `self` is `ForkName::Base` then `Base` is returned.
+ /// If `self` is `ForkName::Base` then `None` is returned.
148
pub fn previous_fork(self) -> Option<ForkName> {
149
match self {
150
ForkName::Base => None,
0 commit comments