From 15ea4d5c36ade276d9c12f3e58f94c3c42d955b6 Mon Sep 17 00:00:00 2001 From: Leynos Date: Sun, 15 Jun 2025 05:56:45 +0100 Subject: [PATCH] Remove obsolete panic note from server constructor --- src/server.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server.rs b/src/server.rs index 19280990..98c195f8 100644 --- a/src/server.rs +++ b/src/server.rs @@ -60,10 +60,6 @@ where /// /// The server is initialised with a default worker count equal to the number of available CPU cores, or 1 if this cannot be determined. The TCP listener is unset and must be configured with `bind` before running the server. /// - /// # Panics - /// - /// Panics if the number of available CPUs cannot be determined and the fallback to 1 fails. - /// /// # Examples /// /// ```ignore