map-self

Crates.iomap-self
lib.rsmap-self
version0.1.1
created_at2023-12-21 21:17:00.441515+00
updated_at2025-06-06 17:56:24.588044+00
descriptionMap a value itself instead of its contained value in usual closure style
homepage
repositoryhttps://github.com/Enyium/map-self-rs
max_upload_size
id1077615
size17,068
(Enyium)

documentation

https://docs.rs/map-self

README

crates.io

A Rust library crate that offers the MapSelf trait, implemented on all types.

Please consider using the tap crate instead, which provides more functionality. By the way, and_then_some is also a nice little helper.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 3

cargo fmt