From a83dfaa162e2b969fbac8926de2431dfb697c83a Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 17 Jul 2021 20:54:53 +0100 Subject: [PATCH] Update macros.rs closes #234 --- actix-service/src/macros.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actix-service/src/macros.rs b/actix-service/src/macros.rs index e23b2960..6cf3ef08 100644 --- a/actix-service/src/macros.rs +++ b/actix-service/src/macros.rs @@ -1,5 +1,9 @@ /// An implementation of [`poll_ready`]() that always signals readiness. /// +/// This should only be used for basic leaf services that have no concept of un-readiness. +/// For wrapper or other serivice types, use [`forward_ready!`] for simple cases or write a bespoke +/// `poll_ready` implementation. +/// /// [`poll_ready`]: crate::Service::poll_ready /// /// # Examples