Skip to content

Commit 2c03f81

Browse files
authored
Fix alignment in abstract type example (#42720)
1 parent 3d4b213 commit 2c03f81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/manual/types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ Let's consider some of the abstract types that make up Julia's numerical hierarc
171171

172172
```julia
173173
abstract type Number end
174-
abstract type Real <: Number end
174+
abstract type Real <: Number end
175175
abstract type AbstractFloat <: Real end
176-
abstract type Integer <: Real end
177-
abstract type Signed <: Integer end
178-
abstract type Unsigned <: Integer end
176+
abstract type Integer <: Real end
177+
abstract type Signed <: Integer end
178+
abstract type Unsigned <: Integer end
179179
```
180180

181181
The [`Number`](@ref) type is a direct child type of `Any`, and [`Real`](@ref) is its child.

0 commit comments

Comments
 (0)