diff options
author | kingdido999 <kingdido999@gmail.com> | 2018-09-02 08:27:07 +0800 |
---|---|---|
committer | kingdido999 <kingdido999@gmail.com> | 2018-09-02 08:27:07 +0800 |
commit | ce41c95e05fe8ce473c7d17335677031a7072f72 (patch) | |
tree | bc908360ed5aeaa90e34870ed9fd8111936793b4 /components/config/basedir.rs | |
parent | c8f3abfdbcdb8c70dc3bd073ab39d5a2a8d88e89 (diff) | |
download | servo-ce41c95e05fe8ce473c7d17335677031a7072f72.tar.gz servo-ce41c95e05fe8ce473c7d17335677031a7072f72.zip |
Format components config #21373
Diffstat (limited to 'components/config/basedir.rs')
-rw-r--r-- | components/config/basedir.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/components/config/basedir.rs b/components/config/basedir.rs index c0970ce9770..562f049bbd2 100644 --- a/components/config/basedir.rs +++ b/components/config/basedir.rs @@ -8,7 +8,12 @@ use std::path::PathBuf; -#[cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))] +#[cfg(all( + unix, + not(target_os = "macos"), + not(target_os = "ios"), + not(target_os = "android") +))] pub fn default_config_dir() -> Option<PathBuf> { let mut config_dir = ::dirs::config_dir().unwrap(); config_dir.push("servo"); |