Skip to content

Commit d6563f8

Browse files
committed
refactor(semantic): derive PartialEq, Eq for JSDocCommentPart (#12000)
1 parent 9bf52f9 commit d6563f8

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)