Skip to content

Commit

Permalink
fix: incorrect doc for SequencePattern
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Sep 11, 2024
1 parent f65c87c commit 88f675a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harper-core/src/patterns/sequence_pattern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use super::whitespace_pattern::WhitespacePattern;
use super::{Pattern, RepeatingPattern};
use crate::{Lrc, Token, TokenKind};

/// A pattern that checks that a sequence of [`TokenPattern`] matches.
/// A pattern that checks that a sequence of others patterns match.
#[derive(Default)]
pub struct SequencePattern {
token_patterns: Vec<Box<dyn Pattern>>
Expand Down

0 comments on commit 88f675a

Please sign in to comment.