浏览代码

Remove unused imports

Will Crichton 1 年之前
父节点
当前提交
7bede0be59
共有 2 个文件被更改,包括 0 次插入5 次删除
  1. 0 3
      packages/desktop/src/desktop_context.rs
  2. 0 2
      packages/desktop/src/webview.rs

+ 0 - 3
packages/desktop/src/desktop_context.rs

@@ -1,6 +1,4 @@
 use std::cell::RefCell;
-use std::future::Future;
-use std::path::Path;
 use std::rc::Rc;
 use std::rc::Weak;
 
@@ -9,7 +7,6 @@ use crate::events::IpcMessage;
 use crate::protocol::AssetFuture;
 use crate::protocol::AssetHandlerId;
 use crate::protocol::AssetHandlerRegistry;
-use crate::protocol::AssetResponse;
 use crate::query::QueryEngine;
 use crate::shortcut::{HotKey, ShortcutId, ShortcutRegistry, ShortcutRegistryError};
 use crate::AssetHandler;

+ 0 - 2
packages/desktop/src/webview.rs

@@ -1,5 +1,3 @@
-use std::sync::Arc;
-
 use crate::desktop_context::EventData;
 use crate::protocol::{self, AssetHandlerRegistry};
 use crate::{desktop_context::UserWindowEvent, Config};