mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Add a bunch of deny(unsafe_code)
This commit is contained in:
parent
95f63795d5
commit
e9b75d30b7
4 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
#![deny(unsafe_code)]
|
||||
|
||||
sixtyfps::include_modules!();
|
||||
|
||||
fn main() {
|
||||
|
@ -11,6 +13,5 @@ fn main() {
|
|||
let app = context.component.downcast::<Hello>().unwrap();
|
||||
app.counter.set(app.counter.get(context) - 1);
|
||||
});
|
||||
|
||||
app.run();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue