Skip to content

Commit

Permalink
fix(docs): Dead documentation symbol links
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Oct 23, 2023
1 parent 2a3378d commit ce3f900
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/actions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/actions/symbols/inversion.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use crate::actions::Action;

use super::Symbol;
#[cfg(doc)]
use super::Symbols;

/// Inverts all symbols inserted by [`Symbols`].
///
Expand Down
4 changes: 2 additions & 2 deletions src/scoping/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -89,7 +89,7 @@ impl<'viewee> From<ROScope<'viewee>> 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 {
Expand Down

0 comments on commit ce3f900

Please sign in to comment.