modern-email / defects

Collection of real-world email defects
MIT License
6 stars 1 forks source link

`code` and `text` are ambiguous #31

Open duesee opened 2 months ago

duesee commented 2 months ago
Greeting { kind: Ok, code: None, text: "[FOO] ..." }

... will result in ...

* OK [FOO] ...

... and be interpreted like ...

Greeting { kind: Ok, code: Foo, text: "..." }

And ...

Greeting { kind: Ok, code: None, text: "[...]" }

... can't be expressed.