From ff6954d9d50d182cecbaa625db22783e5d78a888 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 18 Jul 2022 23:01:03 +0800 Subject: [PATCH] Fix doc comment links. --- src/api/custom_syntax.rs | 2 +- src/api/deprecated.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/custom_syntax.rs b/src/api/custom_syntax.rs index f1128604..3c48d340 100644 --- a/src/api/custom_syntax.rs +++ b/src/api/custom_syntax.rs @@ -78,7 +78,7 @@ impl Expression<'_> { /// /// The following option is available: /// - /// * whether to rewind the [`Scope`] after evaluation if the expression is a [`StmtBlock`][crate::ast::StmtBlock] + /// * whether to rewind the [`Scope`][crate::Scope] after evaluation if the expression is a [`StmtBlock`][crate::ast::StmtBlock] /// /// # WARNING - Unstable API /// diff --git a/src/api/deprecated.rs b/src/api/deprecated.rs index 49dfb94f..208c3f2a 100644 --- a/src/api/deprecated.rs +++ b/src/api/deprecated.rs @@ -318,7 +318,7 @@ impl crate::Expression<'_> { /// /// # Deprecated /// - /// This method is deprecated. Use [`get_string_value`][Expression::get_string_value] instead. + /// This method is deprecated. Use [`get_string_value`][crate::Expression::get_string_value] instead. /// /// This method will be removed in the next major version. #[deprecated(since = "1.4.0", note = "use `get_string_value` instead")]