Skip to content

Conversation

iosmanthus
Copy link
Member

Signed-off-by: Iosmanthus Teng [email protected]

What have you changed? (mandatory)

Lots of code in TiKV implement Into<SomeType> for AnotherType but not From<AnotherType> for SomeType which will automatically implement Into<SomeType> and allow more explicitly construction.

What are the type of changes? (mandatory)

  • Improvement (a change which is an improvement to an existing feature)

Signed-off-by: Iosmanthus Teng <[email protected]>
@iosmanthus iosmanthus added the status/LGT1 Indicates that a PR has LGTM 1. label May 28, 2019
Copy link
Member

@breezewish breezewish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why impl From for these foreign types is now possible. @kennytm

@breezewish breezewish added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels May 28, 2019
@iosmanthus iosmanthus merged commit 3c65a6d into tikv:master May 28, 2019
@kennytm
Copy link
Contributor

kennytm commented May 28, 2019

@breeswish magic of rust-lang/rust#56145 maybe

breezewish pushed a commit to breezewish/tikv that referenced this pull request Jun 12, 2019
Signed-off-by: Iosmanthus Teng <[email protected]>
sticnarf pushed a commit to sticnarf/tikv that referenced this pull request Oct 27, 2019
Signed-off-by: Iosmanthus Teng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants