Rust logo
Rust 1.87.0-beta.7
9d6fe3d1b

`type` aliases

There is a new edition of the book and this is an old link.

Rust provides the ability to declare a type alias with the type keyword to give an existing type another name.

type Kilometers = i32;

You can find the latest version of this information here.