From: Mark Date: Mon, 4 Dec 2023 19:20:54 +0000 (-0700) Subject: correct cargo fmt errors X-Git-Tag: v0.9.4~85 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=eddcdaabeffd447a44a95401c95f34238c392bd4;p=scryer-prolog.git correct cargo fmt errors --- 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");