Skip to content

Commit

Permalink
Fix alignment in abstract type example (JuliaLang#42720)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer authored and LilithHafner committed Feb 22, 2022
1 parent abe35e6 commit 0cd3092
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ Let's consider some of the abstract types that make up Julia's numerical hierarc

```julia
abstract type Number end
abstract type Real <: Number end
abstract type Real <: Number end
abstract type AbstractFloat <: Real end
abstract type Integer <: Real end
abstract type Signed <: Integer end
abstract type Unsigned <: Integer end
abstract type Integer <: Real end
abstract type Signed <: Integer end
abstract type Unsigned <: Integer end
```

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

0 comments on commit 0cd3092

Please sign in to comment.