fix macro snippet for rust
() replaced with {}
This commit is contained in:
parent
732978ab16
commit
eb11eb41ec
@ -51,11 +51,11 @@ format!("${1}"${2/..*/, /}${2});
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet macro "macro_rules!" b
|
snippet macro "macro_rules!" b
|
||||||
macro_rules! ${1:name} (
|
macro_rules! ${1:name} {
|
||||||
(${2:matcher}) => (
|
(${2:matcher}) => (
|
||||||
${3}
|
${3}
|
||||||
)
|
)
|
||||||
)
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet mod "A module" b
|
snippet mod "A module" b
|
||||||
|
Loading…
Reference in New Issue
Block a user