update components
This commit is contained in:
parent
5e3ab690af
commit
90eb88f883
1155 changed files with 62261 additions and 84 deletions
30
dashboard-ui/bower_components/prism/tests/languages/rust/closure-params_feature.test
vendored
Normal file
30
dashboard-ui/bower_components/prism/tests/languages/rust/closure-params_feature.test
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
|x: int, y: int| -> int {}
|
||||
|| {}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["closure-params", [
|
||||
["punctuation", "|"],
|
||||
"x",
|
||||
["punctuation", ":"],
|
||||
" int",
|
||||
["punctuation", ","],
|
||||
" y",
|
||||
["punctuation", ":"],
|
||||
" int",
|
||||
["punctuation", "|"]
|
||||
]],
|
||||
["punctuation", "->"],
|
||||
" int ", ["punctuation", "{"], ["punctuation", "}"],
|
||||
|
||||
["closure-params", [
|
||||
["punctuation", "|"],
|
||||
["punctuation", "|"]
|
||||
]],
|
||||
["punctuation", "{"], ["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for closure params.
|
Loading…
Add table
Add a link
Reference in a new issue