summaryrefslogtreecommitdiff
path: root/inline_parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'inline_parser.go')
-rw-r--r--inline_parser.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/inline_parser.go b/inline_parser.go
index 561cab7..84fae21 100644
--- a/inline_parser.go
+++ b/inline_parser.go
@@ -74,11 +74,6 @@ func (pi *inlineParser) do() {
continue
}
- // We use if-condition with "continue" to break and continue
- // the for-loop, so it is not possible to use switch-case
- // here.
- //
- //nolint:gocritic
if pi.c == '+' {
if pi.isEscaped {
pi.escape()
@@ -257,11 +252,6 @@ func (pi *inlineParser) do() {
continue
}
- // We use if-condition with "continue" to break and
- // continue the for-loop, so it is not possible
- // to use switch-case here.
- //
- //nolint:gocritic
if pi.nextc == '<' {
if pi.parseCrossRef() {
continue