serde-rs / serde-rs.github.io

https://serde.rs
Creative Commons Attribution Share Alike 4.0 International
22 stars 96 forks source link

Fix accidentally flipped data flow #130

Closed ulidtko closed 2 years ago

ulidtko commented 2 years ago

This seems to have been a simple copy-paste error.

I've tried adding an asciiflow diagram illustrating the decoupling here, but unfortunately Github doesn't render it well, so here's its png:

image

Consider merging, thanks in advance.

ulidtko commented 2 years ago

@dtolnay hmm, interesting! Thanks for explaining, I was totally thinking on the value level. Now even profunctors start to make a bit more sense :smile: