Fix casing of types in example (#25556)

From the Standard Library Style Guide:

> Type identifiers should be in PascalCase. All other identifiers should
> be in camelCase with the exception of constants which may use
> PascalCase but are not required to.
This commit is contained in:
Kevin Hovsäter
2026-02-27 02:24:23 +01:00
committed by GitHub
parent a3157537e1
commit 358d9b4497

View File

@@ -1159,8 +1159,8 @@ In Nim new types can be defined within a `type` statement:
```nim test = "nim c $1"
type
biggestInt = int64 # biggest integer type that is available
biggestFloat = float64 # biggest float type that is available
BiggestInt = int64 # biggest integer type that is available
BiggestFloat = float64 # biggest float type that is available
```
Enumeration and object types may only be defined within a