Skip to content

Commit 9c92adb

Browse files
Update actors/runtime/src/actor_error.rs
Co-authored-by: Steven Allen <[email protected]>
1 parent 7ce0f5e commit 9c92adb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

actors/runtime/src/actor_error.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ mod abort {
77

88
#[derive(thiserror::Error, Debug)]
99
#[error("abort error")]
10-
pub struct Abort {
11-
/// This ensures that this error can not be crated outside.
12-
_private: (),
13-
}
10+
pub enum Abort {}
1411

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

0 commit comments

Comments
 (0)