diff options
| author | Marcus Klaas de Vries <mail@marcusklaas.nl> | 2015-10-20 20:14:27 +0200 |
|---|---|---|
| committer | Marcus Klaas de Vries <mail@marcusklaas.nl> | 2015-10-20 20:14:27 +0200 |
| commit | 8e2547b6bcdbac2cadfafe0d8f2795bf9fa1c4da (patch) | |
| tree | 955a3cf16a43092a39a5cb0147a942c4fe97d645 /tests/source | |
| parent | 526ccff690bee0adf7f93ece0d2bba16db42413d (diff) | |
| parent | 6b4ef7457a54103817e8afb3dba3828b60b1e286 (diff) | |
Merge pull request #505 from tikue/master
Fix doc comment regression and add tests.
Diffstat (limited to 'tests/source')
| -rw-r--r-- | tests/source/comment2.rs | 2 | ||||
| -rw-r--r-- | tests/source/comment3.rs | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/source/comment2.rs b/tests/source/comment2.rs new file mode 100644 index 00000000000..81478621bd9 --- /dev/null +++ b/tests/source/comment2.rs @@ -0,0 +1,2 @@ +/// This is a long line that angers rustfmt. Rustfmt shall deal with it swiftly and justly. +pub mod foo {} diff --git a/tests/source/comment3.rs b/tests/source/comment3.rs new file mode 100644 index 00000000000..ed54605f727 --- /dev/null +++ b/tests/source/comment3.rs @@ -0,0 +1,3 @@ +//! This is a long line that angers rustfmt. Rustfmt shall deal with it swiftly and justly. + +pub mod foo {} |
