Test that with all comment wrapping disabled table comments are not wrapped

This commit is contained in:
Wim Looman 2022-09-10 13:31:26 +02:00 committed by Caleb Cartwright
parent cdd0b56071
commit 3f36c997bf

View File

@ -0,0 +1,15 @@
// rustfmt-wrap_comments: false
/// Table that is > 80 symbols:
///
/// | table | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
/// |-------|-----------------------------------------------------------------------------|
/// | val | x |
pub struct Item;
/// Table value that is > 80 symbols:
///
/// | table | heading
/// |----------|-----------------------------------------------------------------------------
/// | long val | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
pub struct Item2;