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 panic on width argument #5150

Closed
tertsdiepraam opened this issue Aug 11, 2023 · 0 comments · Fixed by #5159
Closed

fmt panic on width argument #5150

tertsdiepraam opened this issue Aug 11, 2023 · 0 comments · Fixed by #5159
Labels

Comments

@tertsdiepraam
Copy link
Member

tertsdiepraam commented Aug 11, 2023

There's a runtime error in fmt because OPT_WIDTH is not marked as a flag in clap:

thread 'main' panicked at 'Mismatch between definition and access of `width`. Could not downcast to bool, need to downcast to alloc::string::String
', /home/terts/Programming/uutils/coreutils/src/uu/fmt/src/fmt.rs:171:21

Originally posted by @tertsdiepraam in #4747 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant