Skip to content

Commit 24a0efd

Browse files
committed
Split forwards return docstring into two seperate @returns for each point of failure.
1 parent c3fb16d commit 24a0efd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/log_surgeon/finite_automata/RegexNFA.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,10 @@ class RegexNFAState {
152152
/**
153153
* @param state_ids A map of states to their unique identifiers.
154154
* @return A string representation of the NFA state on success.
155-
* @return Forwards `PositiveTaggedTransition::serialize`'s or
156-
* `NegativeTaggedTransition::serialize`'s return value (std::nullopt) on failure.
155+
* @return Forwards `PositiveTaggedTransition::serialize`'s return value (std::nullopt) on
156+
* failure.
157+
* @return Forwards `NegativeTaggedTransition::serialize`'s return value (std::nullopt) on
158+
* failure.
157159
*/
158160
[[nodiscard]] auto serialize(
159161
std::unordered_map<RegexNFAByteState const*, uint32_t> const& state_ids

0 commit comments

Comments
 (0)