Skip to content

chore: Replace TryInto impl by TryFrom#21203

Merged
alamb merged 1 commit intoapache:mainfrom
Tpt:tpt/try-into
Mar 30, 2026
Merged

chore: Replace TryInto impl by TryFrom#21203
alamb merged 1 commit intoapache:mainfrom
Tpt:tpt/try-into

Conversation

@Tpt
Copy link
Copy Markdown
Contributor

@Tpt Tpt commented Mar 27, 2026

TryInto is automatically implemented using TryFrom leading to a common convention to only implement TryFrom explicitly

This does not break the API outside of adding a new TryFrom implementation

TryInto is automatically implemented using TryFrom
@github-actions github-actions bot added common Related to common crate proto Related to proto crate labels Mar 27, 2026
@Tpt Tpt marked this pull request as ready for review March 27, 2026 20:19
@alamb
Copy link
Copy Markdown
Contributor

alamb commented Mar 30, 2026

Nice cleanup -- thanks @Tpt and @xudong963

@alamb alamb added this pull request to the merge queue Mar 30, 2026
Merged via the queue into apache:main with commit 4a36675 Mar 30, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate proto Related to proto crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants