We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c204e commit bf4c523Copy full SHA for bf4c523
actors/runtime/src/actor_error.rs
@@ -7,10 +7,7 @@ mod abort {
7
8
#[derive(thiserror::Error, Debug)]
9
#[error("abort error")]
10
- pub struct Abort {
11
- /// This ensures that this error can not be crated outside.
12
- _private: (),
13
- }
+ pub enum Abort {}
14
15
#[cfg(feature = "fil-actor")]
16
fn maybe_abort(exit_code: ExitCode, msg: Option<&str>) -> ! {
0 commit comments