From 223315bfb7b0e1411eb240662b3a6a909dfecc48 Mon Sep 17 00:00:00 2001 From: kimikage Date: Sat, 10 Apr 2021 19:18:38 +0900 Subject: [PATCH] doc: fix examples with invalid MIME type (#40427) --- base/multimedia.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/multimedia.jl b/base/multimedia.jl index 45e6b9532e9fa..5d9e3e807d159 100644 --- a/base/multimedia.jl +++ b/base/multimedia.jl @@ -69,7 +69,7 @@ methods; for example, if the available MIME formats depend on the *value* of `x` julia> showable(MIME("text/plain"), rand(5)) true -julia> showable("img/png", rand(5)) +julia> showable("image/png", rand(5)) false ``` """ @@ -176,7 +176,7 @@ data except for a set of types known to be text data (possibly Unicode). julia> istextmime(MIME("text/plain")) true -julia> istextmime(MIME("img/png")) +julia> istextmime(MIME("image/png")) false ``` """