diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/configs/reorder_impl_items/true.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/configs/reorder_impl_items/true.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/configs/reorder_impl_items/true.rs b/src/tools/rustfmt/tests/target/configs/reorder_impl_items/true.rs new file mode 100644 index 000000000..f2294412a --- /dev/null +++ b/src/tools/rustfmt/tests/target/configs/reorder_impl_items/true.rs @@ -0,0 +1,11 @@ +// rustfmt-reorder_impl_items: true + +struct Dummy; + +impl Iterator for Dummy { + type Item = i32; + + fn next(&mut self) -> Option<Self::Item> { + None + } +} |