Skip to content

Commit

Permalink
fix clippy errors (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
annesylvie authored Feb 26, 2024
1 parent 5942b1c commit 54d18a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/parse/emls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn parse(client: &Client, args: &ParseEmlArgs, pool: &mut Pool) -> Result<()
let result = upload_batch_of_new_emails(
client,
&bucket.full_name(),
&chunk.into(),
chunk,
*no_charge,
&statistics,
);
Expand Down
4 changes: 2 additions & 2 deletions cli/src/commands/parse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn get_files_in_directory(directory: &PathBuf, extension: &str) -> Result<Ve
fn upload_batch_of_new_emails(
client: &Client,
bucket: &BucketFullName,
emails: &Vec<NewEmail>,
emails: &[NewEmail],
no_charge: bool,
statistics: &Arc<Statistics>,
) -> Result<()> {
Expand All @@ -112,7 +112,7 @@ fn upload_batch_of_new_emails(
fn upload_batch_of_documents(
client: &Client,
source: &Source,
documents: &Vec<Document>,
documents: &[Document],
transform_tag: &TransformTag,
no_charge: bool,
statistics: &Arc<Statistics>,
Expand Down

0 comments on commit 54d18a1

Please sign in to comment.