mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Document the returned array.
This commit is contained in:
parent
7236a46679
commit
91342a0431
@ -119,6 +119,7 @@ extension UnannotatedTerm: Arbitrary {
|
||||
: k.map { ($0, $1.1) })))
|
||||
}
|
||||
}
|
||||
/// If the permutation is unchanged, we cannot shrink any further.
|
||||
return equal(term.term, shrunk)
|
||||
? []
|
||||
: [ UnannotatedTerm(term: shrunk) ]
|
||||
|
Loading…
Reference in New Issue
Block a user