Glossary: Coding Interviews in Rust
Closure
Also written: closures, |x| …
A small unnamed function written inline, such as the `|slot| slot.0` passed to `sort_by_key` or the test passed to `partition_point`.
Glossary: Coding Interviews in Rust
Also written: closures, |x| …
A small unnamed function written inline, such as the `|slot| slot.0` passed to `sort_by_key` or the test passed to `partition_point`.