sfackler / rust-postgres

Native PostgreSQL driver for the Rust programming language
Apache License 2.0
3.44k stars 436 forks source link

Docs: make sure it's hard to miss that type name has to match #955

Open vargad opened 1 year ago

vargad commented 1 year ago

Some people (me) doesn't read the full page or just gloss over the naming section. It's a lot of wasted time debugging the issue when the type name is not matching, adding name attribute to the examples makes it really hard to miss.

Closes #940

sfackler commented 1 year ago

I think it would be better to actually use the attribute rather than to have it there but commented out.