Skip to content

avoid double String allocation#307

Open
abd0-omar wants to merge 5 commits into
mainmatter:solutionsfrom
abd0-omar:patch-4
Open

avoid double String allocation#307
abd0-omar wants to merge 5 commits into
mainmatter:solutionsfrom
abd0-omar:patch-4

Conversation

@abd0-omar

Copy link
Copy Markdown
Contributor

avoid using to_lowercase() twice by implementing TryFrom<&str> then reusing it in TryFrom<String>

LukeMathWalker and others added 5 commits December 18, 2024 17:41
match panic message with the test expected message
avoid using 'to_lowercase()' twice by implementing `TryFrom<&str>` then reusing it in `TryFrom<String>`
@hdoordt hdoordt force-pushed the solutions branch 2 times, most recently from 8c44511 to a46a8ae Compare June 15, 2026 08:04
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.

4 participants