ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=961c173f0ffd428a831327933a72084bdb1355ec

commit 961c173f0ffd428a831327933a72084bdb1355ec
Author: Andy Williams <[email protected]>
Date:   Thu Jul 6 17:18:47 2017 +0100

    elm_code: Fix rust syntax to include types
---
 src/lib/elementary/elm_code_syntax.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_code_syntax.c 
b/src/lib/elementary/elm_code_syntax.c
index 27b460b7c1..e400b511f0 100644
--- a/src/lib/elementary/elm_code_syntax.c
+++ b/src/lib/elementary/elm_code_syntax.c
@@ -38,7 +38,8 @@ static Elm_Code_Syntax _elm_code_syntax_rust =
    NULL,
    {"as", "break", "const", "continue", "create", "else",  "enum", "extern", 
"false", "fn", "for", "if", \
       "impl", "in", "let", "loop", "match", "mod", "move", "mut", "pub", 
"ref", "return", "Self", "self", \
-      "static", "struct", "super", "trait", "true", "type", "unsafe", "use", 
"where", "while", NULL}
+      "static", "struct", "super", "trait", "true", "type", "unsafe", "use", 
"where", "while",
+      "bool", "i8", "i16", "i32", "i64", "isize", "u8", "u16", "u32", "u64", 
"usize", "f32", "f64", "char", NULL}
 };
 
 static Elm_Code_Syntax _elm_code_syntax_py =

-- 


Reply via email to