about summary refs log tree commit diff
path: root/src/etc/vim/syntax
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-07 16:36:59 -0800
committerKevin Ballard <kevin@sb.org>2014-02-07 22:31:52 -0800
commit086c0dd33febb752b036fba62dcfb8aa22a51642 (patch)
tree2543a402c3d2ce04b4d7cd7e8c60da6c5fb40371 /src/etc/vim/syntax
parent122c94d2f3909a06a5dd172b423b9b56a2f17039 (diff)
downloadrust-086c0dd33febb752b036fba62dcfb8aa22a51642.tar.gz
rust-086c0dd33febb752b036fba62dcfb8aa22a51642.zip
Delete send_str, rewrite clients on top of MaybeOwned<'static>
Declare a `type SendStr = MaybeOwned<'static>` to ease readibility of
types that needed the old SendStr behavior.

Implement all the traits for MaybeOwned that SendStr used to implement.
Diffstat (limited to 'src/etc/vim/syntax')
-rw-r--r--src/etc/vim/syntax/rust.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim
index 0d248354b73..9aa76cad83e 100644
--- a/src/etc/vim/syntax/rust.vim
+++ b/src/etc/vim/syntax/rust.vim
@@ -87,8 +87,7 @@ syn keyword rustTrait Primitive Int Float ToStrRadix ToPrimitive FromPrimitive
 syn keyword rustTrait GenericPath Path PosixPath WindowsPath
 syn keyword rustTrait RawPtr
 syn keyword rustTrait Buffer Writer Reader Seek
-syn keyword rustTrait SendStr SendStrOwned SendStrStatic IntoSendStr
-syn keyword rustTrait Str StrVector StrSlice OwnedStr
+syn keyword rustTrait Str StrVector StrSlice OwnedStr IntoMaybeOwned
 syn keyword rustTrait IterBytes
 syn keyword rustTrait ToStr IntoStr
 syn keyword rustTrait CloneableTuple ImmutableTuple