remove stray println (#66)

This commit is contained in:
Nikolay Volf 2018-02-21 23:00:31 +03:00 committed by GitHub
parent 6b6961bcb6
commit f1a3f06d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -216,7 +216,6 @@ impl MemoryInstance {
/// Returns `Err` if attempted to allocate more memory than permited by the limit. /// Returns `Err` if attempted to allocate more memory than permited by the limit.
pub fn grow(&self, additional: Pages) -> Result<Pages, Error> { pub fn grow(&self, additional: Pages) -> Result<Pages, Error> {
let size_before_grow: Pages = self.current_size(); let size_before_grow: Pages = self.current_size();
println!("grow({:?}) = {:?}", additional, size_before_grow);
if additional == Pages(0) { if additional == Pages(0) {
return Ok(size_before_grow); return Ok(size_before_grow);