Skip to content

Commit 69ce9d2

Browse files
authored
Rewording related to disability (#36249)
Some disability related rewording
1 parent 70fe622 commit 69ce9d2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

base/abstractarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,7 @@ function hash(A::AbstractArray, h::UInt)
22602260
# hashes will often subsequently be compared by equality -- and equality between arrays
22612261
# works elementwise forwards and is short-circuiting. This means that a collision
22622262
# between arrays that differ by elements at the beginning is cheaper than one where the
2263-
# difference is towards the end. Furthermore, blindly choosing log(N) entries from a
2263+
# difference is towards the end. Furthermore, choosing `log(N)` arbitrary entries from a
22642264
# sparse array will likely only choose the same element repeatedly (zero in this case).
22652265

22662266
# To achieve this, we work backwards, starting by hashing the last element of the

doc/src/manual/interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ julia> Base.length(S::Squares) = S.count
113113
```
114114

115115
Now, when we ask Julia to [`collect`](@ref) all the elements into an array it can preallocate a `Vector{Int}`
116-
of the right size instead of blindly [`push!`](@ref)ing each element into a `Vector{Any}`:
116+
of the right size instead of naively [`push!`](@ref)ing each element into a `Vector{Any}`:
117117

118118
```jldoctest squaretype
119119
julia> collect(Squares(4))

doc/src/manual/methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ f(x::Int, y::Int) = 3
906906
```
907907

908908
This is often the right strategy; however, there are circumstances
909-
where following this advice blindly can be counterproductive. In
909+
where following this advice mindlessly can be counterproductive. In
910910
particular, the more methods a generic function has, the more
911911
possibilities there are for ambiguities. When your method hierarchies
912912
get more complicated than this simple example, it can be worth your

0 commit comments

Comments
 (0)