-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] [NFC] Simplify String
List[Byte]
constructor
#3856
base: nightly
Are you sure you want to change the base?
[stdlib] [NFC] Simplify String
List[Byte]
constructor
#3856
Conversation
Signed-off-by: martinvuyk <[email protected]>
String
List[Byte]
constructorString
List[Byte]
constructor
Signed-off-by: martinvuyk <[email protected]>
Signed-off-by: martinvuyk <[email protected]>
778876c
to
e432ae3
Compare
!sync |
Hey Martin, I'm sorry to step on your toes here, but I just wanted to let you know I implemented a very similar refactoring that just merged internally. I was in the area removing I'm sorry again about that, I'll keep trying to do better on noticing ahead of time when I'm overlapping a community PR😌 |
@ConnorGray don't worry it's no biggie. I don't know why I merged it now if you already imported it lol, but the CI is failing now. I think it's because of removing the |
Thanks for understanding Martin, and thank you for bringing that issue to my attention. I just merged your PR with the fix internally, so that should go out with the next nightly :) |
Given the above discussion I'm going to close this PR. But feel free to re-open if I missed something or if there were pieces here you still want to see merged :) |
@ConnorGray I can't reopen the PR and I would like to. Seeing commit 4c2c201 I don't understand why you built a whole method when rebind does the trick. There is no need to move any data if parameters are just a type system "interpretation" (casting is free): |
Signed-off-by: martinvuyk <[email protected]>
Signed-off-by: martinvuyk <[email protected]>
Simplify
String
List[Byte]
constructor