Skip to content

Commit 008275c

Browse files
authored
doc: fix examples with invalid MIME type (#40427)
1 parent fc69c9a commit 008275c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/multimedia.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ methods; for example, if the available MIME formats depend on the *value* of `x`
6969
julia> showable(MIME("text/plain"), rand(5))
7070
true
7171
72-
julia> showable("img/png", rand(5))
72+
julia> showable("image/png", rand(5))
7373
false
7474
```
7575
"""
@@ -176,7 +176,7 @@ data except for a set of types known to be text data (possibly Unicode).
176176
julia> istextmime(MIME("text/plain"))
177177
true
178178
179-
julia> istextmime(MIME("img/png"))
179+
julia> istextmime(MIME("image/png"))
180180
false
181181
```
182182
"""

0 commit comments

Comments
 (0)