about summary refs log tree commit diff
path: root/tests/source/impls.rs
diff options
context:
space:
mode:
authordawirstejeck <dawirstejeck@users.noreply.github.com>2016-09-06 07:11:56 +0200
committerNick Cameron <nrc@ncameron.org>2016-09-06 17:11:56 +1200
commita5d7073bf51937508ba38c3745622ef31473c0e5 (patch)
tree7125acfe67df2172b4cc81486c5a6c01c6e3d179 /tests/source/impls.rs
parentdf173c2885c588c52c95c30666b0b1af6b472f35 (diff)
Split impl at 'for' if a line break is needed (#1148)
* Split impl at 'for' if a line break is needed

* Fix formatting

* Improve comments

* Skip second try if there is no 'for'

* Restore intentional trailing whitespace

* Change test source to be incorrectly formatted

* Restore more missing trailing whitespace

* Remove too much whitespace...

Really should learn how to use git revert.
Diffstat (limited to 'tests/source/impls.rs')
-rw-r--r--tests/source/impls.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/source/impls.rs b/tests/source/impls.rs
index 5fbcecb9700..6d65b8b4a7a 100644
--- a/tests/source/impls.rs
+++ b/tests/source/impls.rs
@@ -100,3 +100,6 @@ mod m {
 
 impl<BorrowType, K, V, NodeType, HandleType> Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> {
 }
+
+impl<BorrowType, K, V, NodeType, HandleType> PartialEq for Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> {
+}