Fix all residual errors, need to polish off warnings and TODOS
This commit is contained in:
parent
6585daccf9
commit
d009e10a46
5 changed files with 19 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue