about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2014-06-17 16:42:42 -0700
committerTom Jakubowski <tom@crystae.net>2014-06-17 16:42:42 -0700
commit23a7d24dd70c3614952df695a5fe78fbcd7ac20b (patch)
treef4af42390ce085f20e3391eaecc94d4ec1f77dbc
parent77b874b68d8d42824e96fda2ebe92a4eb80177a0 (diff)
emacs: Remove outdated references to ~ in tests
-rw-r--r--src/etc/emacs/rust-mode-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/emacs/rust-mode-tests.el b/src/etc/emacs/rust-mode-tests.el
index 6a043524123..85800a6965d 100644
--- a/src/etc/emacs/rust-mode-tests.el
+++ b/src/etc/emacs/rust-mode-tests.el
@@ -301,7 +301,7 @@ struct Foo { bar: int,
 
 struct Blah {x:int,
              y:int,
-             z:~str}"))
+             z:String"))
 
 (ert-deftest indent-doc-comments ()
   (test-indent
@@ -331,7 +331,7 @@ struct foo {
     b:char
 }
 
-fn bar(x:~int) {   // comment here should not affect the next indent
+fn bar(x:Box<int>) {   // comment here should not affect the next indent
     bla();
     bla();
 }"))
@@ -387,7 +387,7 @@ fn baz(   a:int,  // shoudl work with a comment here
    "
 fn args_on_the_next_line( // with a comment
     a:int,
-    b:~str) {
+    b:String) {
     let aaaaaa = [
         1,
         2,