Advanced Types in Rust are quite helpful
Reading Time: 3 minutes In this blog, we will discuss the advanced types available in Rust. Creating Type Synonyms with Type Aliases Rust provides the ability to declare a type alias to give an existing type another name. For this, we use the type keyword. For example, we can create the alias Kilometers to i32 like so: Values that have the type Kilometers will be treated the same as values of type i32: Because Kilometers and i32 are the same type, we can add Continue Reading