mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] That's not a doc comment!
Fixes <rdar://problem/17028678> comments for sort() don't make sense in the synthesized header. Putting the right comments in there is <rdar://problem/17511801> Algorithm.swift needs doc comments Swift SVN r19370
This commit is contained in:
@@ -201,9 +201,9 @@ struct Less<T: Comparable> {
|
||||
}
|
||||
}
|
||||
|
||||
/// The functions below are a copy of the functions above except that
|
||||
/// they don't accept a predicate and they are hardcoded to use the less-than
|
||||
/// comparator.
|
||||
// The functions below are a copy of the functions above except that
|
||||
// they don't accept a predicate and they are hardcoded to use the less-than
|
||||
// comparator.
|
||||
@public func sort<T : Comparable>(inout array: [T]) {
|
||||
return array.withUnsafeMutableStorage {
|
||||
a in sort(&a)
|
||||
|
||||
Reference in New Issue
Block a user