Merge pull request #338 from Heap-Hop/master
adjust #[warn(unreachable_code)] position
This commit is contained in:
commit
b6feaa695f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue