Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Bouchet-Valat <[email protected]>
  • Loading branch information
bkamins and nalimilan authored Mar 4, 2024
1 parent 44dcab2 commit b4740db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Missings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ y)` function. This is equivalent to `missingsmallest(isless)(x, y)`.
# Examples
```
julia> isshorter = missingsmallest((s1, s2) -> isless(length(s1), length(s2)))
julia> isshorter = missingsmallest((s1, s2) -> isless(length(s1), length(s2)));
julia> isshorter("short", "longstring")
true
Expand Down Expand Up @@ -574,7 +575,6 @@ julia> sort(v, lt=missingsmallest)
10
julia> sort(v, lt=missingsmallest, rev=true)
5-element Vector{Union{Missing, Int64}}:
10
2
Expand Down

0 comments on commit b4740db

Please sign in to comment.