Skip to content

Commit

Permalink
doc: fix redundant explicit link target (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad authored Apr 22, 2024
1 parent da22291 commit 66fe91d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![deny(missing_docs)]
//! Library to manage the configuration of the afrim input method.
//!
//! It's based on the top of the [`toml`](toml) crate.
//! It's based on the top of the [`toml`] crate.
//!
//! # Example
//!
Expand All @@ -19,7 +19,7 @@
//! ```
//!
//! In case that you want control the filesystem (reading of file), you can use the
//! [`Config::from_filesystem`](crate::Config::from_filesystem) method.
//! [`Config::from_filesystem`] method.
//!
//! # Example
//!
Expand Down
4 changes: 2 additions & 2 deletions engine/preprocessor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ impl Preprocessor {
/// Initializes a new preprocessor.
///
/// The preprocessor needs a memory to operate. You have two options to build this memory.
/// - Use the [`afrim-memory`](afrim_memory) crate.
/// - Use the [`utils`](crate::utils) module.
/// - Use the [`afrim-memory`] crate.
/// - Use the [`utils`] module.
/// It also needs you set the capacity of his cursor. We recommend to set a capacity equal
/// or greater than N times the maximun sequence length that you want to handle.
/// Where N is the number of sequences that you want track in the cursor.
Expand Down
2 changes: 1 addition & 1 deletion engine/translator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! auto-suggestions, auto-correction and more.
//! It's designed to enhance the language processing tasks within in input method engine.
//!
//! **Note**: We use [`IndexMap`](indexmap::IndexMap) instead of [`HashMap`](std::collections::HashMap) for better performance
//! **Note**: We use [`IndexMap`] instead of [`HashMap`](std::collections::HashMap) for better performance
//! when dealing with big datasets.
//!
//! ### Feature flags
Expand Down
2 changes: 1 addition & 1 deletion memory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl Node {

/// Returns true is the node is at the initial depth.
///
/// Useful when dealing with the [`Cursor`](crate::Cursor).
/// Useful when dealing with the [`Cursor`].
/// Will permit to know the beginning and the end of a sequence.
///
/// # Example
Expand Down

0 comments on commit 66fe91d

Please sign in to comment.