message: Avoid looping over 1 element
diff: @@ -61,7 +61,7 @@ fn check_wasm_memories(module: &Module) -> Result<()> {
  return make_validation_err("Wasm contract must contain exactly one memory".to_string());
  }
  - for memory in memories {
  + let memory = memories[0];
  // println!("Memory: {:?}", memory);
  let limits = memory.limits();
  @@ -78,7 +78,6 @@ fn check_wasm_memories(module: &Module) -> Result<()> {
  .to_string(),
  );
  }
  - }
  Ok(())
  }
  