diff options
| author | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2016-10-16 15:48:22 +0530 |
|---|---|---|
| committer | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2016-10-25 21:59:22 +0530 |
| commit | e820a866bc2545aa2012248d760fe08d9c705dd3 (patch) | |
| tree | 03ddd573f673508e894404897e301d860b51358b /src/libcollectionstest/binary_heap.rs | |
| parent | 6dc035ed911672c6a1f7afc9eed15fb08e574e5b (diff) | |
run rustfmt on libcollectionstest
Diffstat (limited to 'src/libcollectionstest/binary_heap.rs')
| -rw-r--r-- | src/libcollectionstest/binary_heap.rs | 4 |
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 + } } |
