mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-19 01:28:34 +00:00
Option::map, for example, looks like this:
option<t>, (t -> u) -> option<u>
This syntax searches all of the HOFs in Rust: traits Fn, FnOnce,
and FnMut, and bare fn primitives.