Skip to content

Commit d5dd7a8

Browse files
Apply suggestion from @reneleonhardt
Co-authored-by: Rene Leonhardt <[email protected]>
1 parent e535db6 commit d5dd7a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#[inline(always)]
22
pub(crate) fn get_home_dir() -> Option<String> {
3+
#[allow(deprecated)]
34
std::env::home_dir().and_then(|v| v.to_str().map(String::from))
45
}
56

0 commit comments

Comments
 (0)