mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-22 20:57:46 +00:00
Fix warning in doctest
This commit is contained in:
parent
642cb94896
commit
c609974fe2
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ impl GameData {
|
|||
/// let data = game.extract("exd/root.exl").unwrap();
|
||||
///
|
||||
/// let mut file = std::fs::File::create("root.exl").unwrap();
|
||||
/// file.write(data.as_slice());
|
||||
/// file.write(data.as_slice()).unwrap();
|
||||
/// ```
|
||||
pub fn extract(&self, path: &str) -> Option<MemoryBuffer> {
|
||||
let hash = calculate_hash(path);
|
||||
|
|
Loading…
Add table
Reference in a new issue