Skip to content

Commit bc870ca

Browse files
authored
Attach docstring for 'abstract type' to 'abstract' too. (#37636)
1 parent 81f79d5 commit bc870ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/docs/basedocs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract type Real <: Number end
7070
```
7171
[`Number`](@ref) has no supertype, whereas [`Real`](@ref) is an abstract subtype of `Number`.
7272
"""
73-
kw"abstract type"
73+
kw"abstract type", kw"abstract"
7474

7575
"""
7676
module

stdlib/REPL/test/repl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ for (line, expr) in Pair[
10561056
end
10571057

10581058
# PR 30754, Issues #22013, #24871, #26933, #29282, #29361, #30348
1059-
for line in ["", "abstract", "type"]
1059+
for line in ["", "type"]
10601060
@test occursin("No documentation found.",
10611061
sprint(show, help_result(line)::Union{Markdown.MD,Nothing}))
10621062
end

0 commit comments

Comments
 (0)