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

fmt: rejigger internal precision setting #128

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

BurntSushi
Copy link
Owner

Previously, we accepted precision: u8 and inferred "not set" as
"automatic precision." But this actually ends up making some call sites
more complicated than they need to be. It's better to just require an
Option<u8> since that tends to be what callers have.

Previously, we accepted `precision: u8` and inferred "not set" as
"automatic precision." But this actually ends up making some call sites
more complicated than they need to be. It's better to just require an
`Option<u8>` since that tends to be what callers have.
@BurntSushi BurntSushi merged commit 9d2b8a6 into master Sep 8, 2024
17 checks passed
@BurntSushi BurntSushi deleted the ag/tweak-precision-setting branch September 8, 2024 17:49
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.

1 participant