mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user