summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-mode-tests.el')
-rw-r--r--rust-mode-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index 6a04352..85800a6 100644
--- a/rust-mode-tests.el
+++ b/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,