Skip to content

Commit 5ae63b8

Browse files
anowackifredrikekre
authored andcommitted
Fix alignment of examples in struct docstring (#33003)
1 parent cd16f6e commit 5ae63b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

base/docs/basedocs.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -856,10 +856,10 @@ end
856856
Fields can have type restrictions, which may be parameterized:
857857
858858
```julia
859-
struct Point{X}
860-
x::X
861-
y::Float64
862-
end
859+
struct Point{X}
860+
x::X
861+
y::Float64
862+
end
863863
```
864864
865865
A struct can also declare an abstract super type via `<:` syntax:

0 commit comments

Comments
 (0)