Yacin Tmimi
Yacin Tmimi
The example input from https://github.com/rust-lang/rustfmt/issues/5888 is also really helpful at highlighting this issue: ```rust pub(crate) fn sanity_needs_ocr(collection: &[T]) -> bool { let needs_ocr = collection.is_empty() // the presence of 'UNICODE...
@danielhuang thanks! The tab characters are what's causing the panic. Similar issues have been reported before. An explanation of what's going on can be found at https://github.com/rust-lang/rustfmt/issues/4968#issuecomment-949461340, and there are...
is [doc_comment_code_block_width](https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#doc_comment_code_block_width) not enough to override the width settings when formatting code blocks?
It wasn't originally clear to me but now I understand. You want a way to override all width settings when formatting code blocks in doc comments.
`merge_imports` is deprecated and `style_edition` has actually been stable since the release of the 2024 edition.
I think it would be a good idea to keep things consistent. @wesleymatosdev feel free to open a PR. I don't have much review capacity at the moment, but someone...
Thanks for working on this. Can you also add a test case for https://github.com/rust-lang/rustfmt/issues/6607. I believe this also fixes that issue
@rscprof Thanks again for your help on this. I've taken another look at this PR and there's another test case that I'd like to see if we can resolve before...
Kicked off the [Diff-Check](https://github.com/rust-lang/rustfmt/actions/runs/18357832794)
I'll review the diff more carefully a little later to see if I can figure out what's going on similar to what I did in https://github.com/rust-lang/rustfmt/pull/6531#issuecomment-2771299604