Skip to content

Glossary: Rust Basics

parse

Also written: parse::<u32>()

A method that tries to turn text into another type, such as a number, and returns a `Result`. The `::<u32>` says which type you want.

Where the book teaches it

Related terms

Resultlines / split