File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: ea0bd40d9b03542d5b9b5bb8f84fecc274a10b82
2
+ refs/heads/master: 231832d83579b4ed0268a70e53af806a7c53e53f
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5
5
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
Original file line number Diff line number Diff line change 1
1
--langdef=Rust
2
2
--langmap=Rust:.rs
3
- --regex-Rust=/^[ \t]*(pub[ \t]+)?fn[ \t]+([a-zA-Z0-9_]+)/\2 /f,functions,function definitions/
3
+ --regex-Rust=/^[ \t]*(#\[[^\]]\][ \t]*)*( pub[ \t]+)?(extern[ \t]+)?("[^"]+"[ \t]+)?(unsafe[ \t]+)? fn[ \t]+([a-zA-Z0-9_]+)/\6 /f,functions,function definitions/
4
4
--regex-Rust=/^[ \t]*(pub[ \t]+)?type[ \t]+([a-zA-Z0-9_]+)/\2/T,types,type definitions/
5
5
--regex-Rust=/^[ \t]*(pub[ \t]+)?enum[ \t]+([a-zA-Z0-9_]+)/\2/g,enum,enumeration names/
6
6
--regex-Rust=/^[ \t]*(pub[ \t]+)?struct[ \t]+([a-zA-Z0-9_]+)/\2/s,structure names/
You can’t perform that action at this time.
0 commit comments