From 45d4028cf541320279d933c818c3c6cc212ce02a Mon Sep 17 00:00:00 2001 From: Venus Xeon-Blonde Date: Sun, 14 Jul 2024 04:10:18 -0400 Subject: [PATCH] Fix broken doc links --- wright/src/parser.rs | 1 + wright/src/parser/error.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wright/src/parser.rs b/wright/src/parser.rs index 85758669..57f14181 100644 --- a/wright/src/parser.rs +++ b/wright/src/parser.rs @@ -1,6 +1,7 @@ //! This parser module is responsible for turning the stream of [Token]s from the [Lexer] into a tree of [AST] nodes. //! //! [AST]: crate::ast +//! [Token]: crate::lexer::token::Token use super::lexer::Lexer; use error::ParserError; diff --git a/wright/src/parser/error.rs b/wright/src/parser/error.rs index 4503f540..6f8413f6 100644 --- a/wright/src/parser/error.rs +++ b/wright/src/parser/error.rs @@ -8,7 +8,7 @@ use std::borrow::Cow; /// All the different errors that can be produced in the process of parsing. /// The names of these should be self-describing, but in cases when one of these needs to appear in a diagnostic, -/// use [ParserErrorKind::description]. +/// use [ParserErrorKind::find_description]. #[allow(missing_docs)] #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum ParserErrorKind {