From 2d39e2894830331fb02b77980a6190e972ad3d68 Mon Sep 17 00:00:00 2001 From: Cawibo Date: Thu, 9 Jan 2020 23:40:26 +0100 Subject: [PATCH] CamelCase -> UpperCamelCase The compiler will raise a warning unless it is UpperCamelCase. Since the warning is explicit about mentioning "upper", maybe the guide should too? --- src/types/alias.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/alias.md b/src/types/alias.md index c839f53213..5fda9477e8 100644 --- a/src/types/alias.md +++ b/src/types/alias.md @@ -1,7 +1,7 @@ # Aliasing The `type` statement can be used to give a new name to an existing type. Types -must have `CamelCase` names, or the compiler will raise a warning. The +must have `UpperCamelCase` names, or the compiler will raise a warning. The exception to this rule are the primitive types: `usize`, `f32`, etc. ```rust,editable @@ -33,4 +33,4 @@ is an alias for the `Result` type. ### See also: -[Attributes](../attribute.md) \ No newline at end of file +[Attributes](../attribute.md)