-
| I cant seem to find any solutions to this online, but it appears Here is the code: fn explains_why_generating_nametag_text_fails() { assert_eq!( generate_nametag_text(String::new()) .as_ref() .map_err(|e| e.as_str()), Err("Empty names aren't allowed"), ); }Errors show as: |
Beta Was this translation helpful? Give feedback.
Answered by sgtnasty Nov 4, 2024
Replies: 1 comment
-
| I just needed to re-read the header of the exercise and I figured out I needed to change the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by mo8it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
I just needed to re-read the header of the exercise and I figured out I needed to change the
Optionto aResult.