forked from 1b-agent/opencadstudio-upstream
style: rustfmt the tree so the CI lint check passes
This commit is contained in:
1 parent
1317a7b4fd
commit
6025d8be44
128 files changed
+4097
-1676
No files matched your search
+4
-1
@@ -25,7 +25,10 @@ static FONTS_FOLDER: std::sync::RwLock<Option<PathBuf>> = std::sync::RwLock::new
|
||||
/// such as a share on the office network.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub fn fonts_folder() -> Option<PathBuf> {
|
||||
FONTS_FOLDER.read().unwrap_or_else(|e| e.into_inner()).clone()
|
||||
FONTS_FOLDER
|
||||
.read()
|
||||
.unwrap_or_else(|e| e.into_inner())
|
||||
.clone()
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
|
||||
Reference in new issue
Block a user