Skip to content

Commit

Permalink
Update example for fileEdition.
Browse files Browse the repository at this point in the history
  • Loading branch information
chungyc authored and agrue committed Oct 2, 2024
1 parent bef4738 commit 77d103a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto-lens-protoc/app/Data/ProtoLens/Compiler/Definitions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ respectively, which will map to the equivalent feature set compatible with
proto2 and proto3.
>>> fileEdition $ defMessage & #syntax .~ "proto2"
EDITION_PROTO2
Right EDITION_PROTO2
>>> fileEdition $ defMessage & #syntax .~ "proto3"
EDITION_PROTO3
Right EDITION_PROTO3
-}
fileEdition :: FileDescriptorProto -> Either Text Edition
Expand Down

0 comments on commit 77d103a

Please # to comment.