Skip to content

Commit 2d39e28

Browse files
authored
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?
1 parent 1d59403 commit 2d39e28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/alias.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aliasing
22

33
The `type` statement can be used to give a new name to an existing type. Types
4-
must have `CamelCase` names, or the compiler will raise a warning. The
4+
must have `UpperCamelCase` names, or the compiler will raise a warning. The
55
exception to this rule are the primitive types: `usize`, `f32`, etc.
66

77
```rust,editable
@@ -33,4 +33,4 @@ is an alias for the `Result<T, IoError>` type.
3333

3434
### See also:
3535

36-
[Attributes](../attribute.md)
36+
[Attributes](../attribute.md)

0 commit comments

Comments
 (0)