Compare commits
2 Commits
b11f6037c2
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
182d7b29b4 | ||
|
|
56ba50e4ea |
@@ -18,6 +18,8 @@ impl fmt::Display for LogFileError {
|
||||
}
|
||||
}
|
||||
|
||||
impl std::error::Error for LogFileError {}
|
||||
|
||||
impl From<SpannedError> for LogFileError {
|
||||
fn from(value: SpannedError) -> Self {
|
||||
Self::RonSpanned(value)
|
||||
|
||||
@@ -4,7 +4,7 @@ use clap::{ArgAction, Parser};
|
||||
use core::panic;
|
||||
use gamelog::{Action, Down, Flags, Key, LogFile, Team, TerrainState};
|
||||
use std::{io, path::PathBuf, sync::mpsc, thread};
|
||||
//use strum::IntoEnumIterator;
|
||||
use strum::IntoEnumIterator;
|
||||
use tui::App;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
@@ -89,7 +89,6 @@ fn main() -> io::Result<()> {
|
||||
.push(game.penalties(team.to_owned()));
|
||||
}
|
||||
|
||||
/*
|
||||
for team in gamelog::Team::iter() {
|
||||
let team_idx = stats
|
||||
.iter()
|
||||
@@ -105,7 +104,6 @@ fn main() -> io::Result<()> {
|
||||
|
||||
//stats[team_idx].play_frequencies = Some(log.frequency_of_plays(team.to_owned()))
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// :#? for pretty-printing.
|
||||
|
||||
Reference in New Issue
Block a user