From cb905d0a834deea6677d6933ef185e67e698e7c5 Mon Sep 17 00:00:00 2001 From: Quat3rnion Date: Tue, 4 Jun 2024 13:34:58 -0400 Subject: [PATCH] Expand documentation to explain facade type --- src/types/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types/mod.rs b/src/types/mod.rs index e67c203..f41a083 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -29,6 +29,9 @@ mod utils; /// /// While `T` does not have to implement `Composite` to be used with `Shared`, /// the primary use of `Shared` is with types that implement `Composite`. +/// +/// When the `client` feature is disabled, this does nothing (same as just `T`), +/// since `Composite` structures are disabled. #[cfg(feature = "client")] pub type Shared = Arc>; #[cfg(not(feature = "client"))]