.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use std::time::Duration;
|
||||
|
||||
use gpui::*;
|
||||
use ui::Root;
|
||||
use universal_time::{Instant, MonotonicClock, SystemTime, WallClock, define_time_provider};
|
||||
use universal_time::{
|
||||
Duration, Instant, MonotonicClock, SystemTime, WallClock, define_time_provider,
|
||||
};
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
struct CustomTimeProvider;
|
||||
@@ -22,7 +22,7 @@ impl MonotonicClock for CustomTimeProvider {
|
||||
define_time_provider!(CustomTimeProvider);
|
||||
|
||||
fn main() {
|
||||
// Binary entry point — actual initialization happens in `run()` below,
|
||||
// Binary entry point, actual initialization happens in `run()` below,
|
||||
// which is called explicitly from JavaScript after the WASM module loads.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user