diff options
Diffstat (limited to 'mingling_core/src/program/error.rs')
| -rw-r--r-- | mingling_core/src/program/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_core/src/program/error.rs b/mingling_core/src/program/error.rs index 144b5ab..0a5bfd0 100644 --- a/mingling_core/src/program/error.rs +++ b/mingling_core/src/program/error.rs @@ -21,7 +21,7 @@ impl fmt::Display for ProgramPanic { impl ProgramPanic { #[must_use] pub fn new(payload: Box<dyn Any + Send>) -> Self { - ProgramPanic { payload } + Self { payload } } } |
