Skip to content

Commit

Permalink
Update actors/runtime/src/actor_error.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Allen <steven@stebalien.com>
  • Loading branch information
dignifiedquire and Stebalien committed Apr 7, 2022
1 parent 09c204e commit bf4c523
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions actors/runtime/src/actor_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ mod abort {

#[derive(thiserror::Error, Debug)]
#[error("abort error")]
pub struct Abort {
/// This ensures that this error can not be crated outside.
_private: (),
}
pub enum Abort {}

#[cfg(feature = "fil-actor")]
fn maybe_abort(exit_code: ExitCode, msg: Option<&str>) -> ! {
Expand Down

0 comments on commit bf4c523

Please sign in to comment.