Skip to content

Conversation

@emersion
Copy link
Contributor

Change AddressFamilyAndProtocol, PP2Type and ProtocolCommandAndVersion
constants to specify an explicit type. This makes it clearer for users
to understand what constants can be used for a particular header field.
This also makes it so the constants are groupped near the type
definition in the docs.

Closes: #28

Change AddressFamilyAndProtocol, PP2Type and ProtocolCommandAndVersion
constants to specify an explicit type. This makes it clearer for users
to understand what constants can be used for a particular header field.
This also makes it so the constants are groupped near the type
definition in the docs.

Closes: pires#28
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.222% when pulling 63c5979 on emersion:typed-constants into fbefd10 on pires:master.

@pires pires merged commit 5adb67b into pires:master Sep 11, 2020
@pires
Copy link
Owner

pires commented Sep 11, 2020

Thank you very much for your contribution.

@pires pires added this to the 0.2.0 milestone Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Give constants a type

3 participants