mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 17:21:49 -10:00
Merge pull request #10030 from horizon-rust/fix/launcher-uninstall-move
🤖 Agent: one-word fix (closure gets move) for the Windows build error E0373 that #10003 left on main; verified with cargo check --target x86_64-pc-windows-gnu --bins --tests (mingw) on the desktop at this exact head.
This commit is contained in:
1 file changed
+2
-1
@@ -5750,7 +5750,8 @@ fn main() {
|
||||
}
|
||||
gpui_platform::application()
|
||||
.with_assets(blocks::Assets)
|
||||
.run(|cx: &mut App| {
|
||||
// `move`: the closure owns `setup_window`; `run` wants it to outlive this frame.
|
||||
.run(move |cx: &mut App| {
|
||||
cx.text_system()
|
||||
.add_fonts(vec![
|
||||
Cow::Borrowed(horizon_theme::fonts::GEIST_MONO),
|
||||
|
||||
Reference in new issue
Block a user