From eddcdaabeffd447a44a95401c95f34238c392bd4 Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 4 Dec 2023 12:20:54 -0700 Subject: [PATCH] correct cargo fmt errors --- src/machine/machine_errors.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/machine/machine_errors.rs b/src/machine/machine_errors.rs index 02133f32..49d56510 100644 --- a/src/machine/machine_errors.rs +++ b/src/machine/machine_errors.rs @@ -497,18 +497,11 @@ impl MachineState { let stub = functor!( atom!("module_does_not_contain_claimed_export"), - [ - atom(module_name), - str(self.heap.len() + 4, 0) - ], + [atom(module_name), str(self.heap.len() + 4, 0)], [functor_stub] ); - self.permission_error( - Permission::Access, - atom!("private_procedure"), - stub, - ) + self.permission_error(Permission::Access, atom!("private_procedure"), stub) } SessionError::ModuleCannotImportSelf(module_name) => { let error_atom = atom!("module_cannot_import_self"); -- 2.54.0