Skip to content

Commit fc48116

Browse files
committed
Remove useless ref
1 parent 23764ce commit fc48116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex-syntax/src/hir/visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ impl<'a> Frame<'a> {
213213
match *self {
214214
Frame::Repetition(rep) => &rep.sub,
215215
Frame::Capture(capture) => &capture.sub,
216-
Frame::LookAround(lookaround) => &lookaround.sub(),
216+
Frame::LookAround(lookaround) => lookaround.sub(),
217217
Frame::Concat { head, .. } => head,
218218
Frame::Alternation { head, .. } => head,
219219
}

0 commit comments

Comments
 (0)