From a8f403317495fec6a85fcacb7f91c9cb8635d350 Mon Sep 17 00:00:00 2001 From: dece Date: Fri, 8 May 2020 17:36:48 +0200 Subject: [PATCH] bnd: fix docs from rebase --- src/unpackers/bnd.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/unpackers/bnd.rs b/src/unpackers/bnd.rs index d252ac9..8c2b4c4 100644 --- a/src/unpackers/bnd.rs +++ b/src/unpackers/bnd.rs @@ -23,9 +23,8 @@ pub fn extract_bnd_file( /// Extract BND contents to disk. /// -/// Files in the BND are written in the output_path directory, creating it if needed, without -/// preserving directory structure. If the BND do not contain paths, it will be named after its ID. -/// If it does not have IDs, consecutive integers will be used. +/// Files in the BND are written in the output_dir directory, creating +/// it if needed, without preserving directory structure. pub fn extract_bnd( bnd: &bnd::Bnd, bnd_data: &Vec, @@ -83,7 +82,6 @@ fn extract_bnd_entry( /// /// Wraps around `load_bnd` to load the BND from disk. It returns the /// parsed BND metadata and the whole file as a byte vector. -/// Wraps around `load_bnd` to load the BND from disk. pub fn load_bnd_file(bnd_path: &str) -> Result<(bnd::Bnd, Vec), UnpackError> { let mut bnd_file = fs::File::open(bnd_path)?; let file_len = bnd_file.metadata()?.len() as usize;