mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
fix warning on win32
This commit is contained in:
parent
64236c6216
commit
cfe6894e83
@ -222,7 +222,7 @@ impl FontLocator for GdiFontLocator {
|
||||
struct Source {
|
||||
locale: String,
|
||||
len: u32,
|
||||
};
|
||||
}
|
||||
impl dwrote::TextAnalysisSourceMethods for Source {
|
||||
fn get_locale_name<'a>(&'a self, _: u32) -> (Cow<'a, str>, u32) {
|
||||
(Cow::Borrowed(&self.locale), self.len)
|
||||
|
Loading…
Reference in New Issue
Block a user