---
layout: "default"
title: "Zip2Iterator"
description: "Swift documentation for 'Zip2Iterator': An iterator for Zip2Sequence."
keywords: "Zip2Iterator,struct,swift,documentation,next,Element"
root: "/v3.1"
---

<div class="intro-declaration"><code class="language-swift">struct Zip2Iterator&lt;Iterator1, Iterator2 where Iterator1 : IteratorProtocol, Iterator2 : IteratorProtocol&gt;</code></div>

<div class="discussion comment">
    <p>An iterator for <code>Zip2Sequence</code>.</p>
</div>

<table class="sta