1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00

wezterm-font: cargo fmt and fix comment

refs: #337
This commit is contained in:
Wez Furlong 2020-11-22 11:23:58 -08:00
parent 30cc10d4cf
commit 534cdfeaf2

View File

@ -1,4 +1,4 @@
#![cfg(target_os="macos")]
#![cfg(target_os = "macos")]
use crate::locator::{FontDataHandle, FontLocator};
use config::FontAttributes;
@ -12,7 +12,7 @@ use std::collections::HashSet;
use std::path::PathBuf;
/// A FontLocator implemented using the system font loading
/// functions provided by the font-loader crate.
/// functions provided by core text.
pub struct CoreTextFontLocator {}
fn descriptor_from_attr(attr: &FontAttributes) -> anyhow::Result<CTFontDescriptor> {