mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-07-01 16:32:54 +00:00
refactor: use next_back() instead of last()
This commit is contained in:
@ -349,7 +349,7 @@ where
|
||||
}
|
||||
})
|
||||
.filter(|&it| it)
|
||||
.last()
|
||||
.next_back()
|
||||
.unwrap_or_default()
|
||||
} else {
|
||||
false
|
||||
@ -369,7 +369,7 @@ where
|
||||
}
|
||||
})
|
||||
.filter(|&it| it)
|
||||
.last()
|
||||
.next_back()
|
||||
.unwrap_or_default()
|
||||
} else {
|
||||
false
|
||||
|
Reference in New Issue
Block a user