mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-24 18:41:06 +00:00
Clippy
This commit is contained in:
parent
e0583c07fe
commit
1538389caf
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ async fn ensure_details_identifier<S: Store + 'static>(
|
|||
config: &Configuration,
|
||||
identifier: &Arc<str>,
|
||||
) -> Result<Details, Error> {
|
||||
let details = repo.details(&identifier).await?;
|
||||
let details = repo.details(identifier).await?;
|
||||
|
||||
if let Some(details) = details {
|
||||
tracing::debug!("details exist");
|
||||
|
@ -542,7 +542,7 @@ async fn ingest_inline<S: Store + 'static>(
|
|||
client: &ClientWithMiddleware,
|
||||
config: &Configuration,
|
||||
) -> Result<(Alias, DeleteToken, Details), Error> {
|
||||
let session = ingest::ingest(tmp_dir, repo, store, client, stream, None, &config).await?;
|
||||
let session = ingest::ingest(tmp_dir, repo, store, client, stream, None, config).await?;
|
||||
|
||||
let alias = session.alias().expect("alias should exist").to_owned();
|
||||
|
||||
|
|
Loading…
Reference in a new issue