Skip to content

Commit b911eae

Browse files
committed
lint: fix clippy warning
1 parent 4a6f794 commit b911eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ pub(crate) fn prepare_home_dir(home_path: Option<PathBuf>) -> Result<PathBuf, Er
157157
let dir = home_path.unwrap_or_else(|| {
158158
let mut dir = PathBuf::new();
159159
dir.push(
160-
&dirs_next::home_dir()
160+
dirs_next::home_dir()
161161
.ok_or_else(|| Error::Generic("home dir not found".to_string()))
162162
.unwrap(),
163163
);

0 commit comments

Comments
 (0)