wezterm-font: cargo fmt and fix comment

refs: #337
This commit is contained in:
Wez Furlong committed 2020-11-22 11:23:58 -08:00
1 parent 30cc10d4cf
commit 534cdfeaf2
1 file changed
+2 -2
+2 -2
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> {