mirror of
https://github.com/oxalica/nil.git
synced 2025-12-23 09:19:49 +00:00
Fix clippy warnings
This commit is contained in:
parent
c41880b7c2
commit
704192a3aa
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue