Skip to content

Commit 34f9032

Browse files
authored
chore: remove redundant words in comment (JuliaLang#58955)
1 parent 72e2c45 commit 34f9032

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Compiler/src/abstractinterpretation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4414,7 +4414,7 @@ function conditional_change(𝕃ᵢ::AbstractLattice, currstate::VarTable, condt
44144414
# "causes" since we ignored those in the comparison
44154415
newtyp = tmerge(𝕃ᵢ, newtyp, LimitedAccuracy(Bottom, oldtyp.causes))
44164416
end
4417-
# if this `Conditional` is from from `@isdefined condt.slot`, refine its `undef` information
4417+
# if this `Conditional` is from `@isdefined condt.slot`, refine its `undef` information
44184418
newundef = condt.isdefined ? !then_or_else : vtype.undef
44194419
return StateUpdate(SlotNumber(condt.slot), VarState(newtyp, newundef), #=conditional=#true)
44204420
end

base/staticdata.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function _insert_backedges(edges::Vector{Any}, stack::Vector{CodeInstance}, visi
3737
@ccall jl_promote_ci_to_current(codeinst::Any, validation_world::UInt)::Cvoid
3838
minvalid = codeinst.min_world
3939
maxvalid = codeinst.max_world
40-
# Finally, if this CI is still valid in some world age and and belongs to an external method(specialization),
40+
# Finally, if this CI is still valid in some world age and belongs to an external method(specialization),
4141
# poke it that mi's cache
4242
if maxvalid minvalid && external
4343
caller = get_ci_mi(codeinst)

stdlib/Logging/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ end
334334
end
335335

336336
ends = count(entry_end, line)
337-
starts == 1 && ends == 1 && error("Interleaved logs: Log entry started and and another ended on one line")
337+
starts == 1 && ends == 1 && error("Interleaved logs: Log entry started and another ended on one line")
338338
ends > 1 && error("Interleaved logs: Multiple log entries ended on one line")
339339
if ends == 1
340340
startswith(line, entry_end) || error("Interleaved logs: Log entry ended in the middle of a line")

0 commit comments

Comments
 (0)