A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index b0608f8..c7fa248 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -30,7 +30,7 @@
deref_patterns,
generic_const_exprs,
const_trait_impl,
- try_blocks,
+ try_blocks
)]
#![allow(incomplete_features, irrefutable_let_patterns, static_mut_refs)]
mod act;
@@ -353,8 +353,11 @@ fn handle(key: Key, mut text: TextArea) -> TextArea {
text
}
pub static FONT: LazyLock<FontRef<'static>> = LazyLock::new(|| {
- FontRef::from_index(&include_bytes!("../dist/fonts/CascadiaCodeNF.ttf")[..], 0)
- .unwrap()
+ FontRef::from_index(
+ &include_bytes!("../dist/fonts/CascadiaCodeNF.ttf")[..],
+ 0,
+ )
+ .unwrap()
});
pub static IFONT: LazyLock<FontRef<'static>> = LazyLock::new(|| {
FontRef::from_index(
@@ -407,6 +410,7 @@ impl InputRequest {
}
}
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
+// #[rustc_x]
enum BoolRequest {
ReloadFile,
}