Skip to content

Commit 7c2c45d

Browse files
committed
Merge pull request #16 from derekchiang/patch-1
Update Rust.tmLanguage to add 'in'
2 parents 3d24ba2 + d062bd5 commit 7c2c45d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Rust.JSON-tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
{"name": "keyword.source.rust",
32-
"match": "\\b(as|break|claim|const|copy|Copy|do|drop|else|extern|for|if|impl|let|loop|match|mod|mut|Owned|priv|pub|pure|ref|return|unsafe|use|while|mod|Send|static|trait|struct|enum|type)\\b"
32+
"match": "\\b(as|break|claim|const|copy|Copy|do|drop|else|extern|for|if|impl|in|let|loop|match|mod|mut|Owned|priv|pub|pure|ref|return|unsafe|use|while|mod|Send|static|trait|struct|enum|type)\\b"
3333
},
3434
{"name": "storage.type.source.rust",
3535
"match": "\\b(Self|m32|m64|m128|f80|f16|f128|int|uint|float|char|bool|u8|u16|u32|u64|f32|f64|i8|i16|i32|i64|str|Option|Either|c_float|c_double|c_void|FILE|fpos_t|DIR|dirent|c_char|c_schar|c_uchar|c_short|c_ushort|c_int|c_uint|c_long|c_ulong|size_t|ptrdiff_t|clock_t|time_t|c_longlong|c_ulonglong|intptr_t|uintptr_t|off_t|dev_t|ino_t|pid_t|mode_t|ssize_t)\\b"
@@ -78,4 +78,4 @@
7878
}
7979
},
8080
"uuid": "4339386b-4d67-4f0e-9e78-09ecbcddf71d"
81-
}
81+
}

Rust.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</dict>
7373
<dict>
7474
<key>match</key>
75-
<string>\b(as|break|claim|const|copy|Copy|do|drop|else|extern|for|if|impl|let|loop|match|mod|mut|Owned|priv|pub|pure|ref|return|unsafe|use|while|mod|Send|static|trait|struct|enum|type)\b</string>
75+
<string>\b(as|break|claim|const|copy|Copy|do|drop|else|extern|for|if|impl|in|let|loop|match|mod|mut|Owned|priv|pub|pure|ref|return|unsafe|use|while|mod|Send|static|trait|struct|enum|type)\b</string>
7676
<key>name</key>
7777
<string>keyword.source.rust</string>
7878
</dict>

0 commit comments

Comments
 (0)