Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

iaadi4
Copy link

@iaadi4 iaadi4 commented Oct 2, 2025

closes #2225

…lues

- Replace From<&str> trait with TryFrom<&str> for proper error handling
- Add ParsePersonError enum with BadLen, NoName, and ParseInt variants
- Update all tests to expect appropriate errors instead of default Person values
- Maintain same error handling pattern as from_str exercise
- Add required imports for TryFrom and TryInto traits
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.

Incorrect answer passed in from_into.rs

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.