Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
Add + in function trait bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanzab committed Feb 6, 2013
1 parent 6d75815 commit 5f4dcb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rust.JSON-tmLanguage
Expand Up @@ -19,7 +19,7 @@
]
},
{"name": "meta.function.source.rust",
"match": "\\b(fn)\\s+([a-zA-Z_<>][\\w\\:, <>]*)\\s*(\\()",
"match": "\\b(fn)\\s+([a-zA-Z_<>][\\w\\:,+ <>]*)\\s*(\\()",
"captures": {
"1": {"name": "keyword.source.rust"},
"2": {"name": "entity.name.function.source.rust"}
Expand Down
2 changes: 1 addition & 1 deletion Rust.tmLanguage
Expand Up @@ -60,7 +60,7 @@
</dict>
</dict>
<key>match</key>
<string>\b(fn)\s+([a-zA-Z_&lt;&gt;][\w\:, &lt;&gt;]*)\s*(\()</string>
<string>\b(fn)\s+([a-zA-Z_&lt;&gt;][\w\:,+ &lt;&gt;]*)\s*(\()</string>
<key>name</key>
<string>meta.function.source.rust</string>
</dict>
Expand Down

0 comments on commit 5f4dcb7

Please sign in to comment.