Skip to content

Commit d719988

Browse files
committed
Reformat code
1 parent 8ce181b commit d719988

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/distribution.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ impl Distribution {
232232
.collect();
233233
if top_level_files.len() == 1 {
234234
let mut buf = Vec::new();
235-
archive
236-
.by_name(top_level_files[0])?
237-
.read_to_end(&mut buf)?;
235+
archive.by_name(top_level_files[0])?.read_to_end(&mut buf)?;
238236
return Metadata::parse(&buf);
239237
}
240238
Err(Error::MultipleMetadataFiles(metadata_files))

0 commit comments

Comments
 (0)