mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format components config #21373
This commit is contained in:
parent
c8f3abfdbc
commit
ce41c95e05
6 changed files with 444 additions and 225 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue