You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I had to whoop something like this fwith the help of Claude
impl fmt::DisplayforParsePercentageError{fnfmt(&self,f:&mut fmt::Formatter) -> fmt::Result{matchself{ParsePercentageError::InvalidInput => write!(f,"Invalid input"),ParsePercentageError::OutOfRange => write!(f,"Percentage out of range")}}}
Whilst I am a beginner, personally I agree that its ok for learning how fill the gaps for themselves but for a complete beginner who differs from this way of thinking it will be hell
Could you add a tutorial for implementing these traits and why they need to be implement
I checked this https://github.com/rustfinity/rustfinity/edit/main/challenges/graceful-error-handling-2/description.md
It requires me to implement the Display trait
And I had to whoop something like this fwith the help of Claude
Whilst I am a beginner, personally I agree that its ok for learning how fill the gaps for themselves but for a complete beginner who differs from this way of thinking it will be hell
Could you add a tutorial for implementing these traits and why they need to be implement
I am open to collab
Kudos