Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed May 19, 2024
1 parent bd755ef commit 50fda61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions crates/maple_core/src/stdio_server/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub fn unreserve(job_id: u64) {
}

// Define a function to spawn a new thread and run a future
#[allow(unused)]
pub fn spawn_on_new_thread<F>(future: F) -> std::thread::JoinHandle<()>
where
F: Future<Output = ()> + Send + 'static,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use crate::datastore::RECENT_FILES_IN_MEMORY;
use crate::stdio_server::provider::hooks::CachedPreviewImpl;
use crate::stdio_server::provider::{
BaseArgs, ClapProvider, Context, ProviderError, ProviderResult as Result,
};
use crate::stdio_server::provider::{BaseArgs, ClapProvider, Context, ProviderResult as Result};
use parking_lot::Mutex;
use paths::AbsPathBuf;
use printer::Printer;
Expand Down

0 comments on commit 50fda61

Please sign in to comment.