Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Oct 26, 2023
1 parent 61c1ea3 commit 14b3218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/genericmemory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ end
elsize(@nospecialize _::Type{A}) where {T,A<:GenericMemory{<:Any,T}} = aligned_sizeof(T)
sizeof(a::GenericMemory) = Core.sizeof(a)

# multi arg case will be overwritten later. This is needed for bootstraping
# multi arg case will be overwritten later. This is needed for bootstrapping
function isassigned(a::Memory, i::Int)
@inline
@boundscheck (i - 1)%UInt < length(a)%UInt || return false
Expand Down

0 comments on commit 14b3218

Please sign in to comment.