Update Sources/Algorithms/Suffix.swift

Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com>
This commit is contained in:
michibooandXiaodi Wu authored and GitHub committed 2021-01-24 21:54:14 +08:00
1 parent 60bad3bbf4
commit 2f8f798d0c
1 file changed
+2 -2
+2 -2
View File
@@ -14,8 +14,8 @@
//===----------------------------------------------------------------------===//
extension BidirectionalCollection {
/// Returns a subsequence containing the elements from the end until `predicate`
/// returns `false` and skipping the remaining elements.
/// Returns a subsequence containing the elements from the end until
/// `predicate` returns `false` and skipping the remaining elements.
///
/// - Parameter predicate: A closure that takes an element of the
/// sequence as its argument and returns `true` if the element should