ego
– Process your self
This crate provides a function that takes, and immediately returns, self
. This
function is useful for providing no-op named functions to higher-order functions
where you do not want to do any work. It is a substitute for the no-op closure,
|x| x
.
This crate is meant as a placeholder until std::convert::identity
stabilizes.
It has no other purpose.
Minimum Rust Version: 1.0.0