Skip to content

Conversation

@jplatte
Copy link
Member

@jplatte jplatte commented Jun 27, 2025

… for readability.

@jplatte jplatte requested a review from zecakeh June 27, 2025 10:02
Comment on lines +177 to +180
let joke = match get_joke(http_client).await {
Ok(joke) => joke,
Err(_) => "I thought of a joke... but I just forgot it.".to_owned(),
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use .unwrap_or_else() here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Send a follow-up PR :)

@jplatte jplatte merged commit 2c1687f into main Jun 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants