Skip to content

Commit 1b90d74

Browse files
committed
Correct typos
1 parent cb5f1ab commit 1b90d74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MetaGraphs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,13 +583,13 @@ include("persistence.jl")
583583
include("overrides.jl")
584584

585585
function __init__()
586-
# Register error hint for the `loadmg`, `savemg`, and `savedot` functions
586+
# Register error hint for the `loadmg` and `savemg`
587587
if isdefined(Base.Experimental, :register_error_hint)
588588
Base.Experimental.register_error_hint(MethodError) do io, exc, _, _
589-
if exc.f === loadsg
589+
if exc.f === loadmg
590590
print(io, "\n\nIn order to load meta graphs from binary files, you need \
591591
to load the JLD2.jl package.")
592-
elseif exc.f === savesg
592+
elseif exc.f === savemg
593593
print(io,"\n\nIn order to save meta graphs to binary files, you need to \
594594
load the JLD2.jl package.")
595595
end

0 commit comments

Comments
 (0)