A fast, helpful, and open-source document parser
chore: fmt
AdemBoukhris457f9c9bb924312
diff --git a/crates/liteparse/src/conversion.rs b/crates/liteparse/src/conversion.rsindex d0362db..acecc7c 100644--- a/crates/liteparse/src/conversion.rs+++ b/crates/liteparse/src/conversion.rs@@ -496,8 +496,7 @@ pub async fn convert_data_to_pdf(.path().join(format!("input.{}", ext.unwrap_or("bin".to_string())));tokio::fs::write(&tmp_path, data).await?;- let (converted, output_dir) =- convert_to_pdf(tmp_path.to_str().unwrap(), password).await?;+ let (converted, output_dir) = convert_to_pdf(tmp_path.to_str().unwrap(), password).await?;Ok((converted,BufferConversionTemps {diff --git a/crates/liteparse/src/parser.rs b/crates/liteparse/src/parser.rsindex c7742ea..fdb5182 100644--- a/crates/liteparse/src/parser.rs+++ b/crates/liteparse/src/parser.rs@@ -90,8 +90,7 @@ impl LiteParse {PdfInput::Path(p)} else {let (converted, tmp_dir) =- conversion::convert_to_pdf(&p, self.config.password.as_deref())- .await?;+ conversion::convert_to_pdf(&p, self.config.password.as_deref()).await?;_conv_tmp_dir = tmp_dir;// The on-disk source isn't ours to delete; only the// converted temp file should be cleaned up by `tmp_dir`.