From fdbd28fc18a5d2019132413b6699ff7691968fc2 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 9 Oct 2022 20:52:14 +0200 Subject: docs: fix unresolved links to DI container types --- src/errors/async_di_container.rs | 10 +++++----- src/errors/di_container.rs | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/errors') diff --git a/src/errors/async_di_container.rs b/src/errors/async_di_container.rs index 8697bc6..1984521 100644 --- a/src/errors/async_di_container.rs +++ b/src/errors/async_di_container.rs @@ -1,12 +1,12 @@ //! Error types for [`AsyncDIContainer`] and it's related structs. //! -//! [`AsyncDIContainer`]: crate::async_di_container::AsyncDIContainer +//! [`AsyncDIContainer`]: crate::di_container::asynchronous::AsyncDIContainer use crate::errors::injectable::InjectableError; /// Error type for [`AsyncDIContainer`]. /// -/// [`AsyncDIContainer`]: crate::async_di_container::AsyncDIContainer +/// [`AsyncDIContainer`]: crate::di_container::asynchronous::AsyncDIContainer #[derive(thiserror::Error, Debug)] pub enum AsyncDIContainerError { @@ -56,7 +56,7 @@ pub enum AsyncDIContainerError /// Error type for [`AsyncBindingBuilder`]. /// -/// [`AsyncBindingBuilder`]: crate::async_di_container::AsyncBindingBuilder +/// [`AsyncBindingBuilder`]: crate::di_container::asynchronous::binding::builder::AsyncBindingBuilder #[derive(thiserror::Error, Debug)] pub enum AsyncBindingBuilderError { @@ -67,7 +67,7 @@ pub enum AsyncBindingBuilderError /// Error type for [`AsyncBindingScopeConfigurator`]. /// -/// [`AsyncBindingScopeConfigurator`]: crate::async_di_container::AsyncBindingScopeConfigurator +/// [`AsyncBindingScopeConfigurator`]: crate::di_container::asynchronous::binding::scope_configurator::AsyncBindingScopeConfigurator #[derive(thiserror::Error, Debug)] pub enum AsyncBindingScopeConfiguratorError { @@ -78,7 +78,7 @@ pub enum AsyncBindingScopeConfiguratorError /// Error type for [`AsyncBindingWhenConfigurator`]. /// -/// [`AsyncBindingWhenConfigurator`]: crate::async_di_container::AsyncBindingWhenConfigurator +/// [`AsyncBindingWhenConfigurator`]: crate::di_container::asynchronous::binding::when_configurator::AsyncBindingWhenConfigurator #[derive(thiserror::Error, Debug)] pub enum AsyncBindingWhenConfiguratorError { diff --git a/src/errors/di_container.rs b/src/errors/di_container.rs index 5e53f43..ab1433d 100644 --- a/src/errors/di_container.rs +++ b/src/errors/di_container.rs @@ -1,12 +1,12 @@ //! Error types for [`DIContainer`] and it's related structs. //! -//! [`DIContainer`]: crate::di_container::DIContainer +//! [`DIContainer`]: crate::di_container::blocking::DIContainer use crate::errors::injectable::InjectableError; /// Error type for [`DIContainer`]. /// -/// [`DIContainer`]: crate::di_container::DIContainer +/// [`DIContainer`]: crate::di_container::blocking::DIContainer #[derive(thiserror::Error, Debug)] pub enum DIContainerError { @@ -52,7 +52,7 @@ pub enum DIContainerError /// Error type for [`BindingBuilder`]. /// -/// [`BindingBuilder`]: crate::di_container::BindingBuilder +/// [`BindingBuilder`]: crate::di_container::blocking::binding::builder::BindingBuilder #[derive(thiserror::Error, Debug)] pub enum BindingBuilderError { @@ -63,7 +63,7 @@ pub enum BindingBuilderError /// Error type for [`BindingScopeConfigurator`]. /// -/// [`BindingScopeConfigurator`]: crate::di_container::BindingScopeConfigurator +/// [`BindingScopeConfigurator`]: crate::di_container::blocking::binding::scope_configurator::BindingScopeConfigurator #[derive(thiserror::Error, Debug)] pub enum BindingScopeConfiguratorError { @@ -74,7 +74,7 @@ pub enum BindingScopeConfiguratorError /// Error type for [`BindingWhenConfigurator`]. /// -/// [`BindingWhenConfigurator`]: crate::di_container::BindingWhenConfigurator +/// [`BindingWhenConfigurator`]: crate::di_container::blocking::binding::when_configurator::BindingWhenConfigurator #[derive(thiserror::Error, Debug)] pub enum BindingWhenConfiguratorError { -- cgit v1.2.3-18-g5258