mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +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 {
|
struct Source {
|
||||||
locale: String,
|
locale: String,
|
||||||
len: u32,
|
len: u32,
|
||||||
};
|
}
|
||||||
impl dwrote::TextAnalysisSourceMethods for Source {
|
impl dwrote::TextAnalysisSourceMethods for Source {
|
||||||
fn get_locale_name<'a>(&'a self, _: u32) -> (Cow<'a, str>, u32) {
|
fn get_locale_name<'a>(&'a self, _: u32) -> (Cow<'a, str>, u32) {
|
||||||
(Cow::Borrowed(&self.locale), self.len)
|
(Cow::Borrowed(&self.locale), self.len)
|
||||||
|
Loading…
Reference in New Issue
Block a user