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.
  • Loading branch information
cmcaine authored Jun 12, 2020
1 parent e7a1b99 commit 6e7bc68
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 6e7bc68

Please sign in to comment.