Skip to content

Commit

Permalink
refactor: move downcast_output_ref under cfg(test)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Feb 20, 2024
1 parent 18d0ccb commit 7cd1c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/procedure/src/procedure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ impl Status {
Status::Done { output: None }
}

#[cfg(any(test, feature = "testing"))]
/// Downcasts [Status::Done]'s output to &T
/// #Panic:
/// - if [Status] is not the [Status::Done].
Expand Down

0 comments on commit 7cd1c62

Please sign in to comment.