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

Conversation

joshhbk
Copy link

@joshhbk joshhbk commented Jan 27, 2023

No description provided.

Comment on lines +14 to +15
Shape::Square(length) => (length * length) as f64,
Shape::Rectangle(width, height) => (height * width) as f64,
Copy link
Author

Choose a reason for hiding this comment

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

Not too sure about the types here. Is there a better way to handle this?

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