Skip to content

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