Skip to content

Commit

Permalink
refactor: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
saecki committed Aug 17, 2024
1 parent d65ad2e commit cf61a0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lua/crates/health.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local M = {}

local state = require("crates.state")
local util = require("crates.util")

function M.check()
Expand Down
3 changes: 1 addition & 2 deletions lua/crates/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ function M.features_info(crate, features)
---@param f ApiFeature
local function update_transitive(f)
for _, m in ipairs(f.members) do
local i = info[m]
if not i then
if not info[m] then
info[m] = FeatureInfo.TRANSITIVE
local tf = features:get_feat(m)
if tf then
Expand Down

0 comments on commit cf61a0a

Please sign in to comment.