Skip to content

Commit 1a1ccf2

Browse files
committed
test ci
1 parent 3d0d162 commit 1a1ccf2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src-tauri/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FIXME: actually refactor errors instead
22
#![allow(clippy::result_large_err)]
3-
use std::{fmt, path::PathBuf};
3+
use std::{fmt, path::{Path, PathBuf}};
44
// #[cfg(not(windows))]
55
// use std::{
66
// fs::{set_permissions, Permissions},
@@ -85,7 +85,7 @@ pub fn app_data_dir() -> Option<PathBuf> {
8585
/// Ensures path has appropriate permissions set (dg25-28):
8686
/// - 700 for directories
8787
/// - 600 for files
88-
pub fn set_perms(path: &PathBuf) {
88+
pub fn set_perms(_path: &Path) {
8989

9090
// #[cfg(not(windows))]
9191
// {

0 commit comments

Comments
 (0)