Test that with all comment wrapping disabled table comments are not wrapped
This commit is contained in:
parent
cdd0b56071
commit
3f36c997bf
15
tests/target/issue-4210-disabled.rs
Normal file
15
tests/target/issue-4210-disabled.rs
Normal 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;
|
Loading…
Reference in New Issue
Block a user