Skip to content

Commit 381a4e7

Browse files
committed
Auto merge of #4098 - callahad:remove-superfluous-semis, r=alexcrichton
Remove superfluous `;;` sequences Per @Mark-Simulacrum's request in rust-lang/rust#42215 (comment)
2 parents a45d4e9 + 76d53d5 commit 381a4e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/cargo_alias_config.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn alias_incorrect_config_type() {
1313
.file(".cargo/config",r#"
1414
[alias]
1515
b-cargo-test = 5
16-
"#);;
16+
"#);
1717

1818
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
1919
execs().with_status(101).
@@ -33,7 +33,7 @@ fn alias_default_config_overrides_config() {
3333
.file(".cargo/config",r#"
3434
[alias]
3535
b = "not_build"
36-
"#);;
36+
"#);
3737

3838
assert_that(p.cargo_process("b").arg("-v"),
3939
execs().with_status(0).
@@ -50,7 +50,7 @@ fn alias_config() {
5050
.file(".cargo/config",r#"
5151
[alias]
5252
b-cargo-test = "build"
53-
"#);;
53+
"#);
5454

5555
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
5656
execs().with_status(0).
@@ -68,7 +68,7 @@ fn alias_list_test() {
6868
.file(".cargo/config",r#"
6969
[alias]
7070
b-cargo-test = ["build", "--release"]
71-
"#);;
71+
"#);
7272

7373
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
7474
execs().with_status(0).
@@ -87,7 +87,7 @@ fn alias_with_flags_config() {
8787
.file(".cargo/config",r#"
8888
[alias]
8989
b-cargo-test = "build --release"
90-
"#);;
90+
"#);
9191

9292
assert_that(p.cargo_process("b-cargo-test").arg("-v"),
9393
execs().with_status(0).
@@ -106,7 +106,7 @@ fn cant_shadow_builtin() {
106106
.file(".cargo/config",r#"
107107
[alias]
108108
build = "fetch"
109-
"#);;
109+
"#);
110110

111111
assert_that(p.cargo_process("build"),
112112
execs().with_status(0)

0 commit comments

Comments
 (0)