From bc6d5178521e6015e0dd8d0c40ebc1af945e8e4c Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 3 May 2024 12:29:18 +0700 Subject: [PATCH] Fix doc links. One link was broken and the other was using the old HTML style links. --- fluent-fallback/src/lib.rs | 2 +- intl-memoizer/src/concurrent.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fluent-fallback/src/lib.rs b/fluent-fallback/src/lib.rs index 4bd48f66..dee5906f 100644 --- a/fluent-fallback/src/lib.rs +++ b/fluent-fallback/src/lib.rs @@ -62,7 +62,7 @@ //! Resource identifiers can refer to resources that are either required or optional. //! In the above example, `"test.ftl"` is a required resource (the default using `.into()`), //! and `"test2.ftl"` is an optional resource, which you can create via the -//! [`ToResourceId`](fluent_fallback::types::ToResourceId) trait. +//! [`ToResourceId`](types::ToResourceId) trait. //! //! A required resource must be present in order for the a bundle to be considered valid. //! If a required resource is missing for a given locale, a bundle will not be generated for that locale. diff --git a/intl-memoizer/src/concurrent.rs b/intl-memoizer/src/concurrent.rs index 74dc528e..0809f733 100644 --- a/intl-memoizer/src/concurrent.rs +++ b/intl-memoizer/src/concurrent.rs @@ -20,7 +20,7 @@ impl IntlLangMemoizer { } /// Lazily initialize and run a formatter. See - /// [`intl_memoizer::IntlLangMemoizer::with_try_get`](../struct.IntlLangMemoizer.html#method.with_try_get) + /// [`intl_memoizer::IntlLangMemoizer::with_try_get`](crate::IntlLangMemoizer::with_try_get) /// for documentation. pub fn with_try_get(&self, args: I::Args, cb: U) -> Result where