From 0fb4894e0ff0a134e1e0e3860d1bbe2ae4346489 Mon Sep 17 00:00:00 2001 From: Azalea Colburn Date: Sat, 9 Aug 2025 18:07:22 -0700 Subject: [PATCH] chore: remove unneeded PathBuf import --- contrib/completions/zoxide.nu | 1 + src/db/stream.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completions/zoxide.nu b/contrib/completions/zoxide.nu index 34b3ac0..9c777be 100644 --- a/contrib/completions/zoxide.nu +++ b/contrib/completions/zoxide.nu @@ -82,6 +82,7 @@ module completions { --list(-l) # List all matching directories --score(-s) # Print score with results --exclude: path # Exclude the current directory + --basedir: path # Only search within this directory --help(-h) # Print help --version(-V) # Print version ] diff --git a/src/db/stream.rs b/src/db/stream.rs index 575ceb8..8c9b181 100644 --- a/src/db/stream.rs +++ b/src/db/stream.rs @@ -1,6 +1,6 @@ use std::iter::Rev; use std::ops::Range; -use std::path::{Path, PathBuf}; +use std::path::Path; use std::{fs, path}; use glob::Pattern;