Skip to content

Commit 23a7d24

Browse files
committed
emacs: Remove outdated references to ~ in tests
1 parent 77b874b commit 23a7d24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/etc/emacs/rust-mode-tests.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ struct Foo { bar: int,
301301
302302
struct Blah {x:int,
303303
y:int,
304-
z:~str}"))
304+
z:String"))
305305

306306
(ert-deftest indent-doc-comments ()
307307
(test-indent
@@ -331,7 +331,7 @@ struct foo {
331331
b:char
332332
}
333333
334-
fn bar(x:~int) { // comment here should not affect the next indent
334+
fn bar(x:Box<int>) { // comment here should not affect the next indent
335335
bla();
336336
bla();
337337
}"))
@@ -387,7 +387,7 @@ fn baz( a:int, // shoudl work with a comment here
387387
"
388388
fn args_on_the_next_line( // with a comment
389389
a:int,
390-
b:~str) {
390+
b:String) {
391391
let aaaaaa = [
392392
1,
393393
2,

0 commit comments

Comments
 (0)