1
0
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:
2025-05-11 11:33:48 +02:00
parent a210249118
commit 830cdb1644

View File

@ -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