[Standard library] Eliminate redundant conformance constraints.

Eliminate all of the redundant conformance constraints in the standard
library that were identified by the newly-introduced warning for
redundant, explicitly-specified conformances.
This commit is contained in:
Doug Gregor
2017-03-17 20:15:09 -10:00
parent 87dab47d5d
commit 13c4ae0168
11 changed files with 23 additions and 12 deletions

View File

@@ -242,9 +242,11 @@ public struct ${Self}<
}
extension LazyCollectionProtocol
% if Collection != 'Collection':
where
Self : ${Collection},
Elements : ${Collection}
% end
{
/// Returns a lazy collection of the initial consecutive elements that
/// satisfy `predicate`.