mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fixed build warning on Windows
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
//! Common configuration utilities
|
||||
|
||||
use directories::ProjectDirs;
|
||||
use std::path::{Path, PathBuf};
|
||||
#[cfg(unix)]
|
||||
use std::path::Path;
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// Default configuration file path
|
||||
pub fn get_default_config_path() -> Option<PathBuf> {
|
||||
|
||||
Reference in New Issue
Block a user