We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ce181b commit d719988Copy full SHA for d719988
src/distribution.rs
@@ -232,9 +232,7 @@ impl Distribution {
232
.collect();
233
if top_level_files.len() == 1 {
234
let mut buf = Vec::new();
235
- archive
236
- .by_name(top_level_files[0])?
237
- .read_to_end(&mut buf)?;
+ archive.by_name(top_level_files[0])?.read_to_end(&mut buf)?;
238
return Metadata::parse(&buf);
239
}
240
Err(Error::MultipleMetadataFiles(metadata_files))
0 commit comments