From 8cf445ecc42b6ac994adac67c63e045cfecd5f78 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 29 Sep 2021 09:40:56 +0200 Subject: [PATCH] cleanup: make BoxedStoreFunc private There is no need to export this type. --- proxmox-rest-server/src/daemon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-rest-server/src/daemon.rs b/proxmox-rest-server/src/daemon.rs index 789ba47c..c527a586 100644 --- a/proxmox-rest-server/src/daemon.rs +++ b/proxmox-rest-server/src/daemon.rs @@ -25,7 +25,7 @@ extern "C" { } // Unfortunately FnBox is nightly-only and Box is unusable, so just use Box... -pub type BoxedStoreFunc = Box Result + UnwindSafe + Send>; +type BoxedStoreFunc = Box Result + UnwindSafe + Send>; /// Helper trait to "store" something in the environment to be re-used after re-executing the /// service on a reload.