Browse Source

dialyzer found dead code

pull/2/head
Sean Copenhaver 11 years ago
parent
commit
3b267b4913
  1. 8
      lib/rope.ex

8
lib/rope.ex

@ -171,14 +171,6 @@ defmodule Rope do
leaves
end
defp rebuild(buckets) do
[h | tail] =
Enum.filter(buckets, fn(b) -> elem(b, 1) != nil end)
|> Enum.map(fn(b) -> elem(b, 1) end)
Enum.reduce(tail, h, fn(r1, r2) -> Rope.concat(r1, r2) end)
end
@doc """
Retrieve the length in ut8 characters in the rope.

Loading…
Cancel
Save