Skip to content

Commit

Permalink
Minor fixes for type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Havvy committed May 19, 2017
1 parent e793ca8 commit 22a0f75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ There are several kinds of item:
* [modules](#modules)
* [function definitions](#functions)
* [`extern` blocks](#external-blocks)
* [type definitions](../grammar.html#type-definitions)
* [type definitions](#type-aliases)
* [struct definitions](#structs)
* [enumeration definitions](#enumerations)
* [constant items](#constant-items)
Expand Down Expand Up @@ -446,8 +446,7 @@ type Point = (u8, u8);
let p: Point = (41, 68);
```

Currently a type alias to an enum type cannot be used to qualify the
constructors:
A type alias to an enum type cannot be used to qualify the constructors:

```rust
enum E { A }
Expand Down

0 comments on commit 22a0f75

Please sign in to comment.