From e9a8f65d87e5b2cb7aa980529cf03ad99d296a7c Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Thu, 28 Nov 2024 02:44:56 -0500 Subject: [PATCH] Address clippy lint. --- deepwell/src/database/seeder/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepwell/src/database/seeder/mod.rs b/deepwell/src/database/seeder/mod.rs index ffd1a29eee..28fd1db7d5 100644 --- a/deepwell/src/database/seeder/mod.rs +++ b/deepwell/src/database/seeder/mod.rs @@ -242,7 +242,7 @@ pub async fn seed(state: &ServerState) -> Result<()> { // // Also check the file type for safety. We're not allowing symlinks for // the same reason we're not allowing non-local paths. - buffer.push(&file_path); + buffer.push(file_path); let file_path = &buffer; let stat = fs::metadata(file_path)?;