serde-rs / serde-rs.github.io

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

Add documentation for `variant_identifier` and `field_identifier` #146

Open Lucretiel opened 1 year ago

Lucretiel commented 1 year ago

This PR adds documentation for the variant_identifier and field_identifier attributes on enums. I think this should be alright to make officially part of the public API, since they're mentioned in existing documentation, but I'm happy to be wrong about this.

Fixes https://github.com/serde-rs/serde/issues/1238