From 47b9c6c22536d27425742b5d5c650a6908a69f6b Mon Sep 17 00:00:00 2001 From: Son Date: Tue, 30 Sep 2014 22:07:53 +0800 Subject: [PATCH] Change line comment start to // http://doc.rust-lang.org/guide.html#comments --- lib/ace/mode/rust.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/mode/rust.js b/lib/ace/mode/rust.js index 03570e4a..28485e97 100644 --- a/lib/ace/mode/rust.js +++ b/lib/ace/mode/rust.js @@ -53,10 +53,10 @@ var Mode = function() { oop.inherits(Mode, TextMode); (function() { - this.lineCommentStart = "/\\*"; + this.lineCommentStart = "//"; this.blockComment = {start: "/*", end: "*/"}; this.$id = "ace/mode/rust"; }).call(Mode.prototype); exports.Mode = Mode; -}); \ No newline at end of file +});