File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
crates/proc-macro-srv/proc-macro-test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments