File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
crates/emmylua_ls/src/handlers/completion Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ pub struct CompletionBuilder<'a> {
1414 stopped : bool ,
1515}
1616
17- #[ allow( unused) ]
1817impl < ' a > CompletionBuilder < ' a > {
1918 pub fn new (
2019 trigger_token : LuaSyntaxToken ,
Original file line number Diff line number Diff line change @@ -56,11 +56,10 @@ pub async fn on_completion_handler(
5656 Some ( CompletionResponse :: Array ( builder. get_completion_items ( ) ) )
5757}
5858
59- #[ allow( unused_variables) ]
6059pub async fn on_completion_resolve_handler (
6160 context : ServerContextSnapshot ,
6261 params : CompletionItem ,
63- cancel_token : CancellationToken ,
62+ _ : CancellationToken ,
6463) -> CompletionItem {
6564 let analysis = context. analysis . read ( ) . await ;
6665 let db = analysis. compilation . get_db ( ) ;
You can’t perform that action at this time.
0 commit comments