Skip to content

Commit ea01734

Browse files
small changes
1 parent 8b721a0 commit ea01734

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ julia = "1.3"
2121
# TODO check whether this might be added to 1.0.X somewhen
2222

2323
[extras]
24-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2524
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
25+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2626

2727
[targets]
2828
test = ["Test", "Suppressor"]

src/Try.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function Base.show(io::IO, x::Thrown)
3838
end
3939

4040
# Multiline version, following https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing-1
41-
function Base.show(io::IO, ::MIME"text/plain", exc::Thrown{E}) where {E}
41+
function Base.show(io::IO, ::MIME"text/plain", exc::Thrown)
4242
println(io, "Thrown($(repr(exc.exception)))")
4343
for (exc′, bt′) in exc.stacktrace
4444
showerror(io, exc′, bt′)

0 commit comments

Comments
 (0)