Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)