 inherited" id="func-removefirst">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-removefirst">mutating func removeFirst()</a>
        
<div class="comment collapse" id="comment-func-removefirst"><div class="p">
    <p>Remove the element at <code>startIndex</code> and return it.</p>

<p><strong>Complexity:</strong> O(<code>self.count</code>)
<strong>Requires:</strong> <code>!self.isEmpty</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">mutating func removeFirst()