From 0cd309256d6582e329fec2c12fdd9566b3341e90 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Tue, 26 Oct 2021 04:13:42 +0200 Subject: [PATCH] Fix alignment in abstract type example (#42720) --- doc/src/manual/types.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/manual/types.md b/doc/src/manual/types.md index 493aa86546b584..620c6b9e05c5fb 100644 --- a/doc/src/manual/types.md +++ b/doc/src/manual/types.md @@ -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.