Skip to content

Commit 2f1bd06

Browse files
committed
refactor(semantic): derive PartialEq, Eq for JSDocCommentPart
1 parent 96bcf95 commit 2f1bd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_semantic/src/jsdoc/parser/jsdoc_parts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use oxc_span::Span;
1515
/// ```
1616
///
1717
/// Used to populate the `.comment` field on `JSDoc` and `JSDocTag` nodes.
18-
#[derive(Debug, Clone, Copy)]
18+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
1919
pub struct JSDocCommentPart<'a> {
2020
/// The raw string content, such as a parameter name or freeform description text.
2121
raw: &'a str,

0 commit comments

Comments
 (0)