Skip to content

Commit

Permalink
seeing double
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jun 8, 2019
1 parent e8bdcc0 commit f8aa9f1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ fn find_cap_ref<T: ?Sized + AsRef<[u8]>>(
}
let mut brace = false;
i += 1;
if rep[i] == b'{' {
brace = true;
i += 1;
}
if rep[i] == b'{' {
brace = true;
i += 1;
};

let mut cap_end = i;
match rep[i] {
Expand Down

0 comments on commit f8aa9f1

Please sign in to comment.