Skip to content

Commit

Permalink
Fixing some broken structure links in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekc-sharma committed Oct 2, 2021
1 parent aacdd12 commit 630d091
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boa/src/syntax/lexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! This module contains the Boa lexer or tokenizer implementation.
//!
//! The Lexer splits its input source code into a sequence of input elements called tokens,
//! represented by the [Token](../ast/token/struct.Token.html) structure. It also removes
//! represented by the [Token](./token/struct.Token.html) structure. It also removes
//! whitespace and comments and attaches them to the next token.
//!
//! This is tightly coupled with the parser due to the javascript goal-symbol requirements
Expand Down
4 changes: 2 additions & 2 deletions boa/src/syntax/lexer/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub enum TokenKind {

/// A keyword.
///
/// see: [`Keyword`](../keyword/enum.Keyword.html)
/// see: [`Keyword`](../../ast/keyword/enum.Keyword.html)
Keyword(Keyword),

/// A `null` literal.
Expand All @@ -119,7 +119,7 @@ pub enum TokenKind {

/// A piece of punctuation
///
/// see: [`Punctuator`](../punc/enum.Punctuator.html)
/// see: [`Punctuator`](../../ast/punctuator/enum.Punctuator.html)
Punctuator(Punctuator),

/// A string literal.
Expand Down

0 comments on commit 630d091

Please sign in to comment.