From 534cdfeaf2db748b98ec9ba018dfbeb0cf08f147 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 22 Nov 2020 11:23:58 -0800 Subject: [PATCH] wezterm-font: cargo fmt and fix comment refs: #337 --- wezterm-font/src/locator/core_text.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wezterm-font/src/locator/core_text.rs b/wezterm-font/src/locator/core_text.rs index 276520204..0fd7db292 100644 --- a/wezterm-font/src/locator/core_text.rs +++ b/wezterm-font/src/locator/core_text.rs @@ -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 {