Skip to content

Commit a32c22c

Browse files
committed
fix(rust): unit_expression as expr
1 parent 2a6479a commit a32c22c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/luasnip-snippets/snippets/rust/postfix.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ local Utils = require("luasnip-snippets.utils")
66
local expr_query = [[
77
[
88
(struct_expression)
9+
(unit_expression)
910
(call_expression)
1011
(identifier)
1112
(field_expression)
@@ -18,6 +19,7 @@ local expr_or_type_query = [[
1819
[
1920
(struct_expression)
2021
(call_expression)
22+
(unit_expression)
2123
(identifier)
2224
(field_expression)
2325
(integer_literal)

0 commit comments

Comments
 (0)