mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Fix some warnings
This commit is contained in:
@@ -100,7 +100,7 @@ impl MyApp {
|
||||
let threads = Vec::with_capacity(3);
|
||||
let (on_done_tx, on_done_rc) = mpsc::sync_channel(0);
|
||||
|
||||
let mut slf = Self {
|
||||
let slf = Self {
|
||||
data: Arc::new(RwLock::new(MyAppData {
|
||||
threads,
|
||||
on_done_tx,
|
||||
|
||||
@@ -2,12 +2,10 @@ use eframe::egui;
|
||||
use eframe::egui::Id;
|
||||
use eframe::NativeOptions;
|
||||
|
||||
use std::sync::{Arc, RwLock};
|
||||
|
||||
fn main() {
|
||||
env_logger::init(); // Use `RUST_LOG=debug` to see logs.
|
||||
|
||||
eframe::run_simple_native(
|
||||
let _ = eframe::run_simple_native(
|
||||
"Viewports Examples",
|
||||
NativeOptions {
|
||||
renderer: eframe::Renderer::Wgpu,
|
||||
|
||||
Reference in New Issue
Block a user