From 20d0d973c0525e45ed1df6e6d306a8c0ee5d61fe Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 30 Oct 2022 19:01:31 +0100 Subject: docs: add sealed notices to DI container interfaces --- src/di_container/blocking/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/di_container/blocking') diff --git a/src/di_container/blocking/mod.rs b/src/di_container/blocking/mod.rs index 6338118..a54912b 100644 --- a/src/di_container/blocking/mod.rs +++ b/src/di_container/blocking/mod.rs @@ -66,6 +66,8 @@ pub mod binding; pub mod prelude; /// Blocking dependency injection container interface. +/// +/// **This trait is sealed and cannot be implemented for types outside this crate.** pub trait IDIContainer: Sized + 'static + details::DIContainerInternals where -- cgit v1.2.3-18-g5258