Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Conversation

julioromano
Copy link

No description provided.

@julioromano julioromano requested a review from 0rvar February 1, 2023 14:43
}

fn circle_area(shape: &Shape) -> Option<f64> {
if let Shape::Circle { .. } = shape {
Copy link
Author

Choose a reason for hiding this comment

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

I somehow ended up having to use this syntax .. but I'm not sure what it actually does in this context. Can you explain?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant