Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Decimal implement Display #114

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

Arkham
Copy link
Contributor

@Arkham Arkham commented Jan 31, 2025

Problem

I'm working on extending the Dev Assistant to generate function code and I noticed that this causes a crash currently:

format!("${} off Blue Shirts", discount_amount)

where discount_amount is a Decimal.

Solution

Make Decimal implement Display

@Arkham Arkham merged commit 36dcc38 into main Jan 31, 2025
4 checks passed
@Arkham Arkham deleted the make-decimal-implement-display branch January 31, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants