ekmett / placeholder

todo and unimplemented, robustly implemented
Other
32 stars 1 forks source link

[chore] minor improvements #4

Closed MangoIV closed 5 months ago

MangoIV commented 5 months ago

I also have a question to @ekmett: is there a specific reason why the exception types are data, not newtype?

ekmett commented 5 months ago

The newtype thing was an accident of evolution. they started as informationless, but evolved to contain their source location, when they had no info they had to be data, and I didn't fix it when they became one field. Fixed in HEAD.