From 8b91724982fff72750b3feb2a85d3e3dffd5332f Mon Sep 17 00:00:00 2001 From: chengchingwen Date: Thu, 9 May 2024 09:19:07 +0800 Subject: [PATCH] fix doctest format --- src/keypath.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keypath.jl b/src/keypath.jl index f64be1d..acca6f5 100644 --- a/src/keypath.jl +++ b/src/keypath.jl @@ -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