Compare commits

..

No commits in common. "b0f722b42ddc14eefb6f485eacafe261eab2ef3f" and "e4bb7fc2b6f577684c49e49e07badde938348bc3" have entirely different histories.

3 changed files with 3 additions and 6 deletions

View file

@ -21,7 +21,3 @@ paste = "1.0.11"
serde = "1.0.152"
serde_json = "1.0.91"
ringbuf = "0.3.2"
[profile.release-lto]
inherits = "release"
lto = true

View file

@ -17,7 +17,7 @@ build() {
cd ${_pkgbase}
# build binaries
cargo build --profile release-lto
cargo build --release
}
package() {

View file

@ -215,8 +215,9 @@ impl LeaderBoard {
.child_at(0, self.leaderboard_entries.len() - 1)?
.is_none()
{
for i in 0..self.leaderboard_grid.dimensions().1 {
for (i, entry) in self.leaderboard_entries.iter().enumerate() {
self.leaderboard_grid.detach(0, i)?;
entry.snippet().set_visibility(false)?;
}
true