about summary refs log tree commit diff
path: root/src/libcollectionstest/binary_heap.rs
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2016-10-16 15:48:22 +0530
committerSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2016-10-25 21:59:22 +0530
commite820a866bc2545aa2012248d760fe08d9c705dd3 (patch)
tree03ddd573f673508e894404897e301d860b51358b /src/libcollectionstest/binary_heap.rs
parent6dc035ed911672c6a1f7afc9eed15fb08e574e5b (diff)
run rustfmt on libcollectionstest
Diffstat (limited to 'src/libcollectionstest/binary_heap.rs')
-rw-r--r--src/libcollectionstest/binary_heap.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcollectionstest/binary_heap.rs b/src/libcollectionstest/binary_heap.rs
index faabcf4c372..9cd63d87931 100644
--- a/src/libcollectionstest/binary_heap.rs
+++ b/src/libcollectionstest/binary_heap.rs
@@ -299,5 +299,7 @@ fn test_extend_specialization() {
 
 #[allow(dead_code)]
 fn assert_covariance() {
-    fn drain<'new>(d: Drain<'static, &'static str>) -> Drain<'new, &'new str> { d }
+    fn drain<'new>(d: Drain<'static, &'static str>) -> Drain<'new, &'new str> {
+        d
+    }
 }