Make cargo clippy happy
This commit is contained in:
		| @ -55,6 +55,10 @@ impl KwArgs { | ||||
|     pub fn len(&self) -> usize { | ||||
|         self.labeled.len() + if self.unlabeled.is_some() { 1 } else { 0 } | ||||
|     } | ||||
|     /// Are there no arguments? | ||||
|     pub fn is_empty(&self) -> bool { | ||||
|         self.labeled.len() == 0 && self.unlabeled.is_none() | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[derive(Debug, Clone)] | ||||
|  | ||||
| @ -5,8 +5,7 @@ use std::sync::Arc; | ||||
| use futures::stream::TryStreamExt; | ||||
| use gloo_utils::format::JsValueSerdeExt; | ||||
| use kcl_lib::{ | ||||
|     exec::IdGenerator, Point2d, CacheInformation, CoreDump, EngineManager, ExecState, ModuleId, OldAstState, | ||||
|     Program, | ||||
|     exec::IdGenerator, CacheInformation, CoreDump, EngineManager, ExecState, ModuleId, OldAstState, Point2d, Program, | ||||
| }; | ||||
| use tokio::sync::RwLock; | ||||
| use tower_lsp::{LspService, Server}; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user