diff --git a/src/actions/mod.rs b/src/actions/mod.rs index 42c0ac1a..159c0830 100644 --- a/src/actions/mod.rs +++ b/src/actions/mod.rs @@ -32,7 +32,7 @@ pub use titlecase::Titlecase; #[cfg(feature = "upper")] pub use upper::Upper; -/// An action in the processing pipeline, as initiated by [`crate::apply`]. +/// An action in the processing pipeline. /// /// Actions are the core of the text processing pipeline and can be applied in any /// order, [any number of times each](https://en.wikipedia.org/wiki/Idempotence) (more diff --git a/src/actions/symbols/inversion.rs b/src/actions/symbols/inversion.rs index 244462ab..d06695ea 100644 --- a/src/actions/symbols/inversion.rs +++ b/src/actions/symbols/inversion.rs @@ -1,6 +1,8 @@ use crate::actions::Action; use super::Symbol; +#[cfg(doc)] +use super::Symbols; /// Inverts all symbols inserted by [`Symbols`]. /// diff --git a/src/scoping/mod.rs b/src/scoping/mod.rs index a72e6b58..d2d2f6a0 100644 --- a/src/scoping/mod.rs +++ b/src/scoping/mod.rs @@ -69,7 +69,7 @@ impl<'viewee> ROScope<'viewee> { } impl<'viewee> From<&'viewee ROScope<'viewee>> for &'viewee str { - /// Get the underlying string slice of a [`ScopeStatus`]. + /// Get the underlying string slice. /// /// All variants contain such a slice, so this is a convenient method. fn from(s: &'viewee ROScope) -> Self { @@ -89,7 +89,7 @@ impl<'viewee> From> for RWScope<'viewee> { } impl<'viewee> From<&'viewee RWScope<'viewee>> for &'viewee str { - /// Get the underlying string slice of a [`ScopeStatus`]. + /// Get the underlying string slice. /// /// All variants contain such a slice, so this is a convenient method. fn from(s: &'viewee RWScope) -> Self {