Skip to content

Commit

Permalink
doc: fix examples with invalid MIME type (JuliaLang#40427)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimikage committed Apr 10, 2021
1 parent fc69c9a commit 008275c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/multimedia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
"""
Expand Down Expand Up @@ -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
```
"""
Expand Down

0 comments on commit 008275c

Please sign in to comment.