Skip to content

Commit da2c0dc

Browse files
committed
Add notrunc docstrings
1 parent c947a71 commit da2c0dc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/interface/truncation.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ See also [`notrunc()`](@ref).
3434
"""
3535
struct NoTruncation <: TruncationStrategy end
3636

37+
"""
38+
notrunc()
39+
40+
Truncation strategy that does nothing, and keeps all the values.
41+
"""
42+
notrunc() = NoTruncation()
43+
3744
"""
3845
TruncationKeepSorted(howmany::Int, by::Function, rev::Bool)
3946

0 commit comments

Comments
 (0)