Skip to content

Commit b0b5409

Browse files
committed
Unused code
1 parent 8b765a5 commit b0b5409

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

parseany.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,17 +2156,6 @@ func (p *parser) trimExtra() {
21562156
}
21572157
}
21582158

2159-
// func (p *parser) remove(i, length int) {
2160-
// if len(p.format) > i+length {
2161-
// //append(a[:i], a[j:]...)
2162-
// p.format = append(p.format[0:i], p.format[i+length:]...)
2163-
// }
2164-
// if len(p.datestr) > i+length {
2165-
// //append(a[:i], a[j:]...)
2166-
// p.datestr = fmt.Sprintf("%s%s", p.datestr[0:i], p.datestr[i+length:])
2167-
// }
2168-
// }
2169-
21702159
func (p *parser) parse() (time.Time, error) {
21712160
if p.t != nil {
21722161
return *p.t, nil

0 commit comments

Comments
 (0)