Skip to content

Commit a195b2d

Browse files
committed
made changes
1 parent b99b545 commit a195b2d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

base/asyncevent.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Create a async condition that wakes up tasks waiting for it
99
(by calling [`wait`](@ref) on the object)
1010
when notified from C by a call to `uv_async_send`.
1111
Waiting tasks are woken with an error when the object is closed (by [`close`](@ref)).
12-
Use [`isopen`](@ref) to check whether it is still active. An closed condition is inactive and will.
12+
Use [`isopen`](@ref) to check whether it is still active. An closed condition is inactive and will not wake tasks.
1313
1414
This provides an implicit acquire & release memory ordering between the sending and waiting threads.
1515
"""
@@ -212,7 +212,6 @@ isopen(t::Union{Timer, AsyncCondition}) = @atomic :acquire t.isopen
212212
Close an object `t` and thus mark it as inactive. Once a timer or condition is inactive, it will not produce a new event.
213213
See also: [`isopen`](@ref)
214214
"""
215-
216215
function close(t::Union{Timer, AsyncCondition})
217216
t.handle == C_NULL && !t.isopen && return # short-circuit path, :monotonic
218217
iolock_begin()

base/regex.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@ Returns a `RegexMatch` object if a match is found, otherwise `nothing`.
434434
```julia
435435
match(r"\d+", "Julia 1.9") # returns RegexMatch("1")
436436
"""
437-
438437
function match(re::Regex, str::Union{SubString{String}, String}, idx::Integer,
439438
add_opts::UInt32=UInt32(0))
440439
compile(re)

0 commit comments

Comments
 (0)