-
Notifications
You must be signed in to change notification settings - Fork 142
Implement ToStringView for Char #2889
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
Conversation
Pull Request Test Coverage Report for Build 1745Details
💛 - Coveralls |
Test file naming inconsistency with existing conventionsCategory Duplicated test logic between filesCategory // In tostringview_char_demo_test.mbt: Implementation appears correct and well-documentedCategory |
Inefficient double conversion from Char to String to StringViewCategory Missing comprehensive test coverage for edge casesCategory let chars2 : Array[Char] = ['a', 'b', 'c'] Potential memory lifecycle concerns with StringView creationCategory |
|
@copilot fix CI failure. |
933ff09 to
fd73a83
Compare
Co-authored-by: hackwaly <[email protected]>
Co-authored-by: hackwaly <[email protected]>
Co-authored-by: hackwaly <[email protected]>
28829ab to
662fc26
Compare
Implemented ToStringView for Char to enable Array::join on Array[Char]:
[self]syntaxChanges made:
pub impl ToStringView for Charin string/string_like.mbt using[self]syntaxThe implementation allows using Array::join on Array[Char] as requested in the issue.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.