aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dependency_history.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dependency_history.rs b/src/dependency_history.rs
index cd4e77d..81d5434 100644
--- a/src/dependency_history.rs
+++ b/src/dependency_history.rs
@@ -8,6 +8,14 @@ const BOLD_MODE: &str = "\x1b[1m";
const RESET_BOLD_MODE: &str = "\x1b[22m";
/// Dependency history.
+///
+/// Used by the implementations of [`Injectable`] and [`AsyncInjectable`] generated by
+/// the [`injectable`] macro to prevent circular dependencies when the `prevent-circular`
+/// crate feature is enabled.
+///
+/// [`Injectable`]: crate::interfaces::injectable::Injectable
+/// [`AsyncInjectable`]: crate::interfaces::async_injectable::AsyncInjectable
+/// [`injectable`]: crate::injectable
#[derive(Clone, Debug)]
pub struct DependencyHistory
{