mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-24 03:39:49 +02:00
Fix: doctests
This commit is contained in:
1 parent
fb5f52038d
commit
3f557e33bf
1 file changed
+2
-1
@@ -14,7 +14,8 @@ World of Tanks Blitz replay parser in Rust.
|
|||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use wotbreplay_parser::prelude::*;
|
use wotbreplay_parser::models::battle_results::TeamNumber;
|
||||||
|
use wotbreplay_parser::replay::Replay;
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
let battle_results = Replay::open(File::open("tests/replays/battle_results.wotbreplay")?)?
|
let battle_results = Replay::open(File::open("tests/replays/battle_results.wotbreplay")?)?
|
||||||
|
|||||||
Reference in new issue
Block a user