mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-08 11:28:44 +00:00
Fixed test in dcb/src/lib.rs
This commit is contained in:
parent
2f4aea7eec
commit
9dd35a19a7
@ -20,7 +20,7 @@
|
||||
//! ```no_run
|
||||
//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
//! # use std::fs::File;
|
||||
//! let mut game_file = dcb::GameFile::from_reader( File::open("Digimon Digital Card Battle.bin")? )?;
|
||||
//! let mut game_file = dcb_io::GameFile::from_reader( File::open("Digimon Digital Card Battle.bin")? )?;
|
||||
//! let card_table = dcb::CardTable::deserialize(&mut game_file)?;
|
||||
//! println!("Card table: {:?}", card_table);
|
||||
//! # Ok(())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user