Skip to content

Commit

Permalink
Revert "fmt"
Browse files Browse the repository at this point in the history
This reverts commit 218963f.
  • Loading branch information
ruben-arts committed Sep 23, 2024
1 parent b54c7b0 commit 5cd1615
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/rattler_repodata_gateway/src/fetch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ pub async fn fetch_repo_data(
cache_state

Check warning on line 435 in crates/rattler_repodata_gateway/src/fetch/mod.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/rattler/rattler/crates/rattler_repodata_gateway/src/fetch/mod.rs
.to_path(&cache_state_path)
.map(|_| cache_state)
.map_err(FetchRepoDataError::FailedToWriteCacheState)
.map_err(|e| FetchRepoDataError::FailedToWriteCacheState(cache_state_path, e))

Check failure on line 438 in crates/rattler_repodata_gateway/src/fetch/mod.rs

View workflow job for this annotation

GitHub Actions / Format, Lint and Test the Python bindings

this enum variant takes 1 argument but 2 arguments were supplied

Check failure on line 438 in crates/rattler_repodata_gateway/src/fetch/mod.rs

View workflow job for this annotation

GitHub Actions / Check intra-doc links

this enum variant takes 1 argument but 2 arguments were supplied
})
.await??;

Expand Down Expand Up @@ -650,8 +650,8 @@ async fn stream_and_decode_to_file(
);

// Construct a temporary file
let temp_file = NamedTempFile::new_in(temp_dir)
.map_err(FetchRepoDataError::FailedToCreateTemporaryFile)?;
let temp_file =
NamedTempFile::new_in(temp_dir).map_err(FetchRepoDataError::FailedToCreateTemporaryFile)?;

Check warning on line 655 in crates/rattler_repodata_gateway/src/fetch/mod.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/rattler/rattler/crates/rattler_repodata_gateway/src/fetch/mod.rs
// Clone the file handle and create a hashing writer so we can compute a hash while the content
// is being written to disk.
Expand Down

0 comments on commit 5cd1615

Please sign in to comment.