Skip to content

Commit b9d6365

Browse files
lint
1 parent f0c59c9 commit b9d6365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/pgt_completions/src/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ impl<'a> CompletionContext<'a> {
341341
node: tree_sitter::Node<'a>,
342342
cursor: &mut tree_sitter::TreeCursor<'a>,
343343
) -> Option<WrappingClause<'a>> {
344-
return match node.kind() {
344+
match node.kind() {
345345
"where" => Some(WrappingClause::Where),
346346
"update" => Some(WrappingClause::Update),
347347
"select" => Some(WrappingClause::Select),
@@ -361,7 +361,7 @@ impl<'a> CompletionContext<'a> {
361361
Some(WrappingClause::Join { on_node })
362362
}
363363
_ => None,
364-
};
364+
}
365365
}
366366
}
367367

0 commit comments

Comments
 (0)