From 358d9b4497189070bd1243601e59ea33be38c5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Hovs=C3=A4ter?= Date: Fri, 27 Feb 2026 02:24:23 +0100 Subject: [PATCH] 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. --- doc/tut1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tut1.md b/doc/tut1.md index f116357394..072d8f3ba6 100644 --- a/doc/tut1.md +++ b/doc/tut1.md @@ -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