Skip to content

Commit

Permalink
Add a haddock comment for MapField. (google#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
judah authored and blackgnezdo committed Dec 15, 2018
1 parent 9f7ba63 commit 93ed86d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Data/ProtoLens/Compiler/Definitions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ data FieldKind
-- whether the field's FieldDescriptorProto of the field has
-- options.map_entry set.
| MapField MapEntryInfo
-- ^ A field containing a map of keys to values.
-- Serialized as a repeated field of an autogenerated "entry"
-- proto type, each instance of which contains a key-value pair.

data FieldPacking
= NotPackable -- ^ Cannot be packed (e.g., strings or messages).
Expand Down

0 comments on commit 93ed86d

Please sign in to comment.