title: How to skip n items from inside of an iterator loop?
body: <p>This code: </p>
  
  <p><a href="https://play.rust-lang.org/?version=stable&amp;mode=debug&amp;edition=2018&amp;gist=b839fbcbc215a3c9dc0c38c6b476ce80" rel="noreferrer">play</a></p>
  
  <pre><code>fn main() {
      let text = "abcd";
  
      for char in text.chars() {
          if char == 'b' {
              // skip 2 chars
          }
          print!("{}", char);
      }
      // prints `abcd`, but I want `ad`
  }
  </code></pre>
  
  <p>prints <code>abcd</code>, but I want to skip 2 chars if <code>b</code> was found, so that it prints <code>ad</code>. How do I do that? </p>
  
  <p>I tried to put the iterator into a variable outside the loop and manipulate that iterator within the loop, but the Borrow Checker doesn't allow that.</p>