Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Nov 5, 2022
1 parent e941076 commit e03e9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_ast/src/function/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl FormalParameter {
self.is_rest_param
}

/// Returns `true` if the parameter is a simple [`Identifier`].
/// Returns `true` if the parameter is an identifier.
#[must_use]
pub fn is_identifier(&self) -> bool {
matches!(&self.variable.binding(), Binding::Identifier(_))
Expand Down

0 comments on commit e03e9dd

Please sign in to comment.