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 committed Oct 26, 2021
1 parent 3d4b213 commit 2c03f81
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 2c03f81

Please sign in to comment.