diff --git a/actix-server/src/builder.rs b/actix-server/src/builder.rs index dcb05d44..bd5418c1 100644 --- a/actix-server/src/builder.rs +++ b/actix-server/src/builder.rs @@ -72,13 +72,14 @@ impl ServerBuilder { /// Sets number of workers to start. /// - /// `num` must be greater than 0. - /// - /// Note that the factory + /// See [`bind()`](Self::bind()) for more details on how worker count affects the number of + /// server factory instantiations. /// /// The default worker count is the determined by [`std::thread::available_parallelism()`]. See /// its documentation to determine what behavior you should expect when server is run. /// + /// `num` must be greater than 0. + /// /// # Panics /// /// Panics if `num` is 0.