Skip to content

Glossary: Rust Beyond the Basics

map_err

A `Result` method that changes the error inside an `Err` with a closure and leaves an `Ok` alone.

Where the book teaches it

Related terms

Fromclosure