Skip to content

Commit 9122376

Browse files
authored
remove unnecessary ::REPLDisplay == ::REPLDisplay method (#50520)
1 parent 4995d3f commit 9122376

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

stdlib/REPL/src/REPL.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,10 @@ function repl_backend_loop(backend::REPLBackend, get_module::Function)
248248
return nothing
249249
end
250250

251-
struct REPLDisplay{R<:AbstractREPL} <: AbstractDisplay
252-
repl::R
251+
struct REPLDisplay{Repl<:AbstractREPL} <: AbstractDisplay
252+
repl::Repl
253253
end
254254

255-
==(a::REPLDisplay, b::REPLDisplay) = a.repl === b.repl
256-
257255
function display(d::REPLDisplay, mime::MIME"text/plain", x)
258256
x = Ref{Any}(x)
259257
with_repl_linfo(d.repl) do io

0 commit comments

Comments
 (0)