From 2fcb211a671c0458a33693f141c169e69dfdf289 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Wed, 2 Dec 2020 22:28:33 -0800 Subject: [PATCH] Docs --- src/wavereader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wavereader.rs b/src/wavereader.rs index 1b54281..0ba885e 100644 --- a/src/wavereader.rs +++ b/src/wavereader.rs @@ -166,7 +166,7 @@ impl WaveReader { /// Read iXML data. /// /// If there are no iXML metadata present in the file, - /// Err(Error::ChunkMissing { "iXML" } will be returned. + /// Ok(0) will be returned. pub fn read_ixml(&mut self, buffer: &mut Vec) -> Result { let ixml_fourcc = FourCC::make(b"iXML"); self.read_chunk(ixml_fourcc, 0, buffer) @@ -176,7 +176,7 @@ impl WaveReader { /// /// By convention this will generally be ADM metadata. /// - /// If there are no iXML metadata present in the file, + /// If there are no axml metadata present in the file, /// Ok(0) will be returned pub fn read_axml(&mut self, buffer: &mut Vec) -> Result { let axml_fourcc = FourCC::make(b"axml");