mirror of
https://github.com/oxalica/nil.git
synced 2025-10-06 00:32:51 +02:00
Fix clippy warnings
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user