From 21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02 Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Mon, 15 Nov 2021 01:15:17 -0800 Subject: chore: clean up unused function args (#1426) --- lua/lspconfig/rust_analyzer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/lspconfig/rust_analyzer.lua') diff --git a/lua/lspconfig/rust_analyzer.lua b/lua/lspconfig/rust_analyzer.lua index bbe86b3d..285ba0f3 100644 --- a/lua/lspconfig/rust_analyzer.lua +++ b/lua/lspconfig/rust_analyzer.lua @@ -25,10 +25,10 @@ configs.rust_analyzer = { local cargo_metadata = '' local cargo_metadata_err = '' local cm = vim.fn.jobstart(cmd, { - on_stdout = function(j, d, e) + on_stdout = function(_, d, _) cargo_metadata = table.concat(d, '\n') end, - on_stderr = function(j, d, e) + on_stderr = function(_, d, _) cargo_metadata_err = table.concat(d, '\n') end, stdout_buffered = true, -- cgit v1.2.3-70-g09d2