mirror of
https://github.com/JakeStanger/universal-config-rs.git
synced 2026-07-11 12:15:59 +01:00
[PR #8] [MERGED] fix: fix compilation for --no-default-features #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/universal-config-rs#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/universal-config-rs/pull/8
Author: @Rodrigodd
Created: 4/9/2025
Status: ✅ Merged
Merged: 4/14/2025
Merged by: @JakeStanger
Base:
master← Head:fix-no-default-features📝 Commits (1)
fe3ef81fix: fix compilation for --no-default-features📊 Changes
1 file changed (+5 additions, -4 deletions)
View changed files
📝
src/lib.rs(+5 -4)📄 Description
When no features are enabled the Format enum is empty. This commit fixes a error with type inference and errors with matching a reference to the empty enum by dereferencing them first.
This fixes the compilation of ironbar with
--no-default-features.I test the changes with the following script:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.