Skip to content

Commit

Permalink
Fix broken doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Jul 14, 2024
1 parent af57b64 commit 45d4028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions wright/src/parser.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion wright/src/parser/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 45d4028

Please sign in to comment.