Skip to content

Commit

Permalink
chore: remove unnecessary toList
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Aug 27, 2024
1 parent b5c5982 commit d684d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocGen4/Process/Analyze.lean
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def process (task : AnalyzeTask) : MetaM (AnalyzerResult × Hierarchy) := do

let mut res ← getAllModuleDocs relevantModules.toArray

for (name, cinfo) in env.constants.toList do
for (name, cinfo) in env.constants do
let some modidx := env.getModuleIdxFor? name | unreachable!
let moduleName := env.allImportedModuleNames.get! modidx
if !relevantModules.contains moduleName then
Expand Down

0 comments on commit d684d59

Please sign in to comment.