Skip to content

Commit

Permalink
docs: Fix indentation on !!! warn section (#36254)
Browse files Browse the repository at this point in the history
Related to #35526. Thanks to @kimikage for the heads up.

(cherry picked from commit 6e7bc68)
  • Loading branch information
cmcaine authored and KristofferC committed Aug 3, 2020
1 parent f0b8c76 commit 56fd9a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ of function arguments that are containers of abstract types; see [Performance Ti
## Primitive Types

!!! warning
It is almost always preferable to wrap an existing primitive type in a new
composite type than to define your own primitive type.
It is almost always preferable to wrap an existing primitive type in a new
composite type than to define your own primitive type.

This functionality exists to allow Julia to bootstrap the standard primitive
types that LLVM supports. Once they are defined, there is very little reason
to define more.
This functionality exists to allow Julia to bootstrap the standard primitive
types that LLVM supports. Once they are defined, there is very little reason
to define more.

A primitive type is a concrete type whose data consists of plain old bits. Classic examples of primitive
types are integers and floating-point values. Unlike most languages, Julia lets you declare your
Expand Down

0 comments on commit 56fd9a2

Please sign in to comment.