Skip to content

Commit

Permalink
fix doctest format
Browse files Browse the repository at this point in the history
  • Loading branch information
chengchingwen committed May 9, 2024
1 parent e672c6e commit 8b91724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/keypath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ See also [`KeyPath`](@ref) and [`getkeypath`](@ref).
# Examples
```jldoctest
julia> x = Dict(:a => 3, :b => Dict(:c => 4, "d" => [5, 6, 7]))
Dict{Any,Any} with 2 entries:
Dict{Symbol, Any} with 2 entries:
:a => 3
:b => Dict{Any,Any}(:c=>4,"d"=>[5, 6, 7])
:b => Dict{Any, Any}(:c=>4, "d"=>[5, 6, 7])
julia> haskeypath(x, KeyPath(:a))
true
Expand Down

0 comments on commit 8b91724

Please sign in to comment.