remove stray println (#66)
This commit is contained in:
parent
6b6961bcb6
commit
f1a3f06d5e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue