Fix clippy warnings

This commit is contained in:
oxalica
2025-06-28 16:11:51 -04:00
parent c41880b7c2
commit 704192a3aa

View File

@@ -402,8 +402,8 @@ mod tests {
.flat_map(|scope| match &scope.kind {
ScopeKind::Definitions(defs) => {
let mut poses = defs
.iter()
.map(|(_, name)| {
.values()
.map(|name| {
source_map
.nodes_for_name(*name)
.next()