% `type` aliases

<small>There is a new edition of the book and this is an old link.</small>

> Rust provides the ability to declare a _type alias_ with the `type` keyword to give an existing type another name.

```rust
type Kilometers = i32;
```

---

You can find the latest version of this information
[here](ch20-03-advanced-types.html#creating-type-synonyms-with-type-aliases).
