mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-06 20:17:21 +08:00
Remove unnecessary Regex constraint
This commit is contained in:
@@ -30,7 +30,7 @@ import Text.Regex.TDFA
|
||||
-- Precompile the regex
|
||||
mkRegex :: String -> Regex
|
||||
mkRegex str =
|
||||
let make :: RegexMaker Regex CompOption ExecOption String => String -> Regex
|
||||
let make :: String -> Regex
|
||||
make = makeRegex
|
||||
in
|
||||
make str
|
||||
|
Reference in New Issue
Block a user