We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4547192 commit 65cc52dCopy full SHA for 65cc52d
src/small_array.jl
@@ -60,7 +60,7 @@ function Base.push!(x::Backing, v)
60
x[x.len] = v
61
end
62
63
-function Base.pop!(x::Backing{T}, v) where {T}
+function Base.pop!(x::Backing{T}) where {T}
64
x.len > 0 || throw(ArgumentError("Array is empty"))
65
v = x[x.len]
66
x[x.len] = defaultval(T)
0 commit comments