Skip to content

Commit b6df79f

Browse files
[autofix.ci] apply automated fixes
1 parent c730388 commit b6df79f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/oxc_ast/src/trivia.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,9 @@ mod test {
199199

200200
#[test]
201201
fn test_is_inside_comment() {
202-
let comments = vec![
203-
Comment::new(0, 4, CommentKind::Line),
204-
Comment::new(10, 20, CommentKind::Block),
205-
]
206-
.into_boxed_slice();
202+
let comments =
203+
vec![Comment::new(0, 4, CommentKind::Line), Comment::new(10, 20, CommentKind::Block)]
204+
.into_boxed_slice();
207205

208206
assert!(is_inside_comment(&comments, 2));
209207
assert!(!is_inside_comment(&comments, 5));

0 commit comments

Comments
 (0)