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

This commit is contained in:
Isaac Clayton 2022-07-06 15:57:25 +02:00
parent 6585daccf9
commit d009e10a46
5 changed files with 19 additions and 19 deletions

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;