summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-07-06 17:18:47 +0100
committerAndy Williams <andy@andywilliams.me>2017-07-06 17:18:47 +0100
commit961c173f0ffd428a831327933a72084bdb1355ec (patch)
tree7b1f0246ee8eb68ad9c48dcb604a850ac1d88f44
parent2faeffde718525685f5a270164a0c1ff2c65343a (diff)
downloadefl-961c173f0ffd428a831327933a72084bdb1355ec.tar.gz
elm_code: Fix rust syntax to include types
-rw-r--r--src/lib/elementary/elm_code_syntax.c3
1 files changed, 2 insertions, 1 deletions
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 =