1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-23 05:07:46 +00:00

Fix warning in doctest

This commit is contained in:
Joshua Goins 2022-08-09 23:44:11 -04:00
parent 642cb94896
commit c609974fe2

View file

@ -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);