mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Use "use" keyword
This commit is contained in:
parent
cf125a797d
commit
70a4e6dae0
@ -1,8 +1,7 @@
|
|||||||
extern crate console_error_panic_hook;
|
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::panic;
|
use std::panic;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
use console_error_panic_hook;
|
||||||
|
|
||||||
use js_sys::Array;
|
use js_sys::Array;
|
||||||
use log::{info, warn, Level};
|
use log::{info, warn, Level};
|
||||||
@ -58,5 +57,5 @@ pub async fn run() {
|
|||||||
height: body.client_height(),
|
height: body.client_height(),
|
||||||
});
|
});
|
||||||
|
|
||||||
super::setup::setup(window, event_loop).await;
|
crate::main_loop::setup(window, event_loop).await;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user