diff --git a/config/src/lib.rs b/config/src/lib.rs index c2cce53..6af4a8b 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -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 //! @@ -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 //! diff --git a/engine/preprocessor/src/lib.rs b/engine/preprocessor/src/lib.rs index d3ba8cc..c46b1e7 100644 --- a/engine/preprocessor/src/lib.rs +++ b/engine/preprocessor/src/lib.rs @@ -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. diff --git a/engine/translator/src/lib.rs b/engine/translator/src/lib.rs index c5acdfc..fa2e155 100644 --- a/engine/translator/src/lib.rs +++ b/engine/translator/src/lib.rs @@ -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 diff --git a/memory/src/lib.rs b/memory/src/lib.rs index a92ea8f..2360618 100644 --- a/memory/src/lib.rs +++ b/memory/src/lib.rs @@ -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