Fixed typo

This commit is contained in:
2025-02-09 15:14:17 -05:00
parent 835d495990
commit 47f88c817f

View File

@@ -1157,7 +1157,7 @@ func Compile(re string, flags ...ReFlag) (Reg, error) {
return reg, nil
}
// MustCompile panicks if Compile returns an error. They are identical in all other respects.
// MustCompile panics if Compile returns an error. They are identical in all other respects.
func MustCompile(re string, flags ...ReFlag) Reg {
reg, err := Compile(re, flags...)
if err != nil {