From f7985c585a504ee98dcdb3054a2db21c911d35cb Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 1 Nov 2021 00:36:53 +0000 Subject: [PATCH] Update actix-server/src/builder.rs Co-authored-by: Ali MJ Al-Nasrawy --- actix-server/src/builder.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actix-server/src/builder.rs b/actix-server/src/builder.rs index 6128898d..f0720126 100644 --- a/actix-server/src/builder.rs +++ b/actix-server/src/builder.rs @@ -163,6 +163,8 @@ impl ServerBuilder { /// Binds to all network interface addresses that resolve from the `addr` argument. /// Eg. using `localhost` might bind to both IPv4 and IPv6 addresses. Bind to multiple distinct /// interfaces at the same time by passing a list of socket addresses. + /// + /// This fails only if all addresses fail to bind. pub fn bind( mut self, name: impl AsRef,