Skip to content

Commit

Permalink
Address clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Nov 28, 2024
1 parent 302cc04 commit e9a8f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepwell/src/database/seeder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit e9a8f65

Please sign in to comment.