adjust #[warn(unreachable_code)] position
This commit is contained in:
parent
362b5594a2
commit
5f190297a9
@ -274,8 +274,8 @@ impl Config {
|
||||
return "".into();
|
||||
}
|
||||
|
||||
#[allow(unreachable_code)]
|
||||
pub fn log_path() -> PathBuf {
|
||||
#[allow(unreachable_code)]
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
if let Some(path) = dirs_next::home_dir().as_mut() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user