Skip to content

der: rename Encode::to_vec => ::to_der#898

Merged
tarcieri merged 1 commit intomasterfrom
der/rename-encode-to-der
Feb 27, 2023
Merged

der: rename Encode::to_vec => ::to_der#898
tarcieri merged 1 commit intomasterfrom
der/rename-encode-to-der

Conversation

@tarcieri
Copy link
Member

We've had complaints that the name to_vec is too ambiguous.

The name to_der provides more clarity, and also better matches Decode::from_der.

We've had complaints that the name `to_vec` is too ambiguous.

The name `to_der` provides more clarity, and also better matches
`Decode::from_der`.
@tarcieri tarcieri force-pushed the der/rename-encode-to-der branch from eb36e1c to d4e939d Compare February 27, 2023 01:43
@tarcieri tarcieri merged commit e10afe6 into master Feb 27, 2023
@tarcieri tarcieri deleted the der/rename-encode-to-der branch February 27, 2023 02:05
@tarcieri tarcieri mentioned this pull request Feb 27, 2023
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.

1 participant