Fix all residual errors, need to polish off warnings and TODOS

This commit is contained in:
Isaac Clayton
2022-07-07 16:17:03 +02:00
parent 6585daccf9
commit d009e10a46
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ pub struct LspAdapter {
}
impl LspAdapter {
pub async fn new(adapter: impl LspAdapterTrait) -> Arc<Self> {
pub async fn new<T: LspAdapterTrait>(adapter: T) -> Arc<Self> {
let adapter = Box::new(adapter);
let name = adapter.name().await;
let server_args = adapter.server_args().await;