Update to gamelog v0.5.0

This commit is contained in:
Cutieguwu
2025-04-01 14:37:54 -04:00
parent 6942453f4f
commit cb5fc6117a
6 changed files with 34 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
use crate::{Event, PlayHandle};
use crate::{Event, Play, PlayHandle};
use serde::Deserialize;
#[derive(Debug, Deserialize, Clone)]
@@ -9,7 +9,7 @@ pub struct Period {
}
impl PlayHandle for Period {
fn plays(&self) -> Vec<crate::Play> {
fn plays(&self) -> Vec<Play> {
self.events
.iter()
.filter_map(|event| {