Skip to content

Commit 5607714

Browse files
committed
Format code
1 parent 0ea0565 commit 5607714

File tree

1 file changed

+4
-2
lines changed
  • crates/proc-macro-srv/proc-macro-test

1 file changed

+4
-2
lines changed

crates/proc-macro-srv/proc-macro-test/build.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ fn main() {
100100
.current_dir(&staging_dir)
101101
.args(["pkgid", name])
102102
.output()
103-
.unwrap().stdout,
103+
.unwrap()
104+
.stdout,
104105
)
105106
.unwrap();
106107
let pkgid = pkgid.trim();
@@ -109,7 +110,8 @@ fn main() {
109110
for message in Message::parse_stream(output.stdout.as_slice()) {
110111
if let Message::CompilerArtifact(artifact) = message.unwrap() {
111112
if artifact.target.kind.contains(&"proc-macro".to_string()) {
112-
if artifact.package_id.repr.starts_with(&repr) || artifact.package_id.repr == pkgid {
113+
if artifact.package_id.repr.starts_with(&repr) || artifact.package_id.repr == pkgid
114+
{
113115
artifact_path = Some(PathBuf::from(&artifact.filenames[0]));
114116
}
115117
}

0 commit comments

Comments
 (0)