Skip to content

Commit 212200b

Browse files
author
Andrey Oskin
committed
fix: formatting (JuliaDatabases#265)
1 parent 02a5f5c commit 212200b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/parsing.jl

+2-3
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,9 @@ Base.convert(::Type{String}, pqv::PQValue) = String(pqv)
111111
Base.length(pqv::PQValue) = length(string_view(pqv))
112112
Base.lastindex(pqv::PQValue) = lastindex(string_view(pqv))
113113

114-
115114
# Julia bug override, see https://github.com/iamed2/LibPQ.jl/issues/265
116115
# and https://github.com/iamed2/LibPQ.jl/pull/248 for more details
117-
function _tryparse(::Type{T}, str, timeformat) where T
116+
function _tryparse(::Type{T}, str, timeformat) where {T}
118117
@static if v"1.6.6" <= VERSION < v"1.7.0" || VERSION > v"1.7.2"
119118
return tryparse(T, str, timeformat)
120119
else
@@ -129,7 +128,7 @@ function _tryparse(::Type{T}, str, timeformat) where T
129128
end
130129
end
131130

132-
function _tryparse(::Type{T}, str) where T
131+
function _tryparse(::Type{T}, str) where {T}
133132
@static if v"1.6.6" <= VERSION < v"1.7.0" || VERSION > v"1.7.2"
134133
return tryparse(T, str)
135134
else

0 commit comments

Comments
 (0)