Skip to content

Commit

Permalink
Merge pull request #1302 from Cawibo/patch-1
Browse files Browse the repository at this point in the history
CamelCase -> UpperCamelCase
  • Loading branch information
marioidival authored Jan 20, 2020
2 parents 1d59403 + 2d39e28 commit 1c2bd02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/alias.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -33,4 +33,4 @@ is an alias for the `Result<T, IoError>` type.

### See also:

[Attributes](../attribute.md)
[Attributes](../attribute.md)

0 comments on commit 1c2bd02

Please sign in to comment.