Permalink
Browse files

Update show function in lru.jl.

  • Loading branch information...
kmsquire committed Aug 24, 2012
1 parent 12c4b2f commit 450810ee00a3735cd4a3e26a92fef91708cc8fdf
Showing with 2 additions and 1 deletion.
  1. +2 −1 extras/lru.jl
View
@@ -65,7 +65,8 @@ function del_all(lru::LRU)
end
-show(lru::BoundedLRU) = print("BoundedLRU($(lru.maxsize))")
+show(io, lru::UnboundedLRU) = print("UnboundedLRU()")
+show(io, lru::BoundedLRU) = print("BoundedLRU($(lru.maxsize))")
## indexable ##

0 comments on commit 450810e

Please sign in to comment.