mirror of
https://github.com/araddon/dateparse.git
synced 2025-01-19 19:26:09 +08:00
S1023: redundant break statement (gosimple)
This commit is contained in:
parent
2fb4c46691
commit
5143d47e3e
@ -1442,7 +1442,6 @@ iterRunes:
|
||||
if datestr[i-1] == 'm' {
|
||||
p.extra = i - 2
|
||||
p.trimExtra()
|
||||
break
|
||||
}
|
||||
case '+', '-', '(':
|
||||
// This really doesn't seem valid, but for some reason when round-tripping a go date
|
||||
@ -1452,7 +1451,6 @@ iterRunes:
|
||||
p.extra = i - 1
|
||||
p.stateTime = timeWsOffset
|
||||
p.trimExtra()
|
||||
break
|
||||
default:
|
||||
switch {
|
||||
case unicode.IsDigit(r):
|
||||
|
Loading…
Reference in New Issue
Block a user