apply icon indicating copy to clipboard operation
apply copied to clipboard

Add tiny example?

Open vitiral opened this issue 5 years ago • 1 comments

I think this lets you do something like

1
  .apply(|i| i + 2)
  .apply(myOwnFunctionWhichConsumesI32)

Such an example in the API docs and README would be helpful :smile: :

Congrats on being the Crate of the Week

vitiral avatar May 20 '20 01:05 vitiral

The README points to tests/lib.rs which has a couple useful examples. I don't see any context like that in the docs, though.

mx00s avatar May 20 '20 19:05 mx00s